use broadcast func
This commit is contained in:
1 parent
ecf2332eee
commit
774797a28f
1 file changed
+1
-1
@@ -2135,7 +2135,7 @@ namespace EduNetworkBuilder
|
|||||||
tPacket.OutboundIP = tPacket.destIP;
|
tPacket.OutboundIP = tPacket.destIP;
|
||||||
tPacket.TsourceIP = null;
|
tPacket.TsourceIP = null;
|
||||||
}
|
}
|
||||||
else if(tPacket.destIP.GetIPString != NB.BroadcastIPString)
|
else if(!tPacket.destIP.IsBroadcast())
|
||||||
{
|
{
|
||||||
//it needs to go to a gateway. Set the next destination is the GW
|
//it needs to go to a gateway. Set the next destination is the GW
|
||||||
tPacket.OutboundIP = dest;
|
tPacket.OutboundIP = dest;
|
||||||
|
|||||||
Reference in new issue
Block a user