From d4989feb1667966fa79888f772ac025287a04303 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 8 Dec 2020 15:40:31 -0700 Subject: [PATCH] Changing for NB_IPAddress.isBroadcast --- EduNetworkBuilder/NetworkDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))