Changing for NB_IPAddress.isBroadcast

This commit is contained in:
Tim Young 2020-12-08 15:40:31 -07:00
parent 6889f92fc7
commit d4989feb16
1 changed files with 1 additions and 1 deletions

View File

@ -1692,7 +1692,7 @@ namespace EduNetworkBuilder
//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
//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)
{
if (nic.HasBroadcastAddresses(dest))