From 8a906bad5f4838b64dfd4ccb369c3f293ff72557 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 8 Dec 2020 15:26:11 -0700 Subject: [PATCH] Network Interface moving to IPAddress functions --- EduNetworkBuilder/NetworkInterface.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NetworkInterface.cs b/EduNetworkBuilder/NetworkInterface.cs index 99ab2ed..5e3387d 100644 --- a/EduNetworkBuilder/NetworkInterface.cs +++ b/EduNetworkBuilder/NetworkInterface.cs @@ -281,7 +281,7 @@ namespace EduNetworkBuilder NetworkCard nic = HD.NicFromID(AttachedToHostNic); if(nic != null && nic.GetNicType != NicType.port && nic.GetNicType != NicType.wport) tPacket.TsourceIP = myIP; - if(tPacket.TsourceIP == null || tPacket.TsourceIP.GetIPString == NB.ZeroIPString) + if(tPacket.TsourceIP == null || tPacket.TsourceIP.IsZeroString()) tPacket.TsourceIP = myIP; if (What == VLANTagType.Forbidden)