diff --git a/EduNetworkBuilder/NetworkDevice.cs b/EduNetworkBuilder/NetworkDevice.cs index 683a308..fa09474 100644 --- a/EduNetworkBuilder/NetworkDevice.cs +++ b/EduNetworkBuilder/NetworkDevice.cs @@ -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))