Network Interface moving to IPAddress functions

This commit is contained in:
Tim Young 2020-12-08 15:26:11 -07:00
parent 49151e7c55
commit 8a906bad5f
1 changed files with 1 additions and 1 deletions

View File

@ -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)