Changing for NB_IPAddress.isBroadcast
This commit is contained in:
parent
6889f92fc7
commit
d4989feb16
@ -1692,7 +1692,7 @@ namespace EduNetworkBuilder
|
|||||||
//This "fixes" a strange fringe case of when we configure a subnet such that
|
//This "fixes" a strange fringe case of when we configure a subnet such that
|
||||||
//a packet that is traversing the network suddenly is a broadcast packet on the
|
//a packet that is traversing the network suddenly is a broadcast packet on the
|
||||||
//target network. Gotta have odd subnetting for this to happen
|
//target network. Gotta have odd subnetting for this to happen
|
||||||
if (NB.BroadcastIPString == dest.GetIPString) return true;
|
if (dest.IsBroadcast()) return true;
|
||||||
foreach (NetworkCard nic in NICs)
|
foreach (NetworkCard nic in NICs)
|
||||||
{
|
{
|
||||||
if (nic.HasBroadcastAddresses(dest))
|
if (nic.HasBroadcastAddresses(dest))
|
||||||
|
Loading…
Reference in New Issue
Block a user