Network Interface moving to IPAddress functions
This commit is contained in:
parent
49151e7c55
commit
8a906bad5f
@ -281,7 +281,7 @@ namespace EduNetworkBuilder
|
|||||||
NetworkCard nic = HD.NicFromID(AttachedToHostNic);
|
NetworkCard nic = HD.NicFromID(AttachedToHostNic);
|
||||||
if(nic != null && nic.GetNicType != NicType.port && nic.GetNicType != NicType.wport)
|
if(nic != null && nic.GetNicType != NicType.port && nic.GetNicType != NicType.wport)
|
||||||
tPacket.TsourceIP = myIP;
|
tPacket.TsourceIP = myIP;
|
||||||
if(tPacket.TsourceIP == null || tPacket.TsourceIP.GetIPString == NB.ZeroIPString)
|
if(tPacket.TsourceIP == null || tPacket.TsourceIP.IsZeroString())
|
||||||
tPacket.TsourceIP = myIP;
|
tPacket.TsourceIP = myIP;
|
||||||
|
|
||||||
if (What == VLANTagType.Forbidden)
|
if (What == VLANTagType.Forbidden)
|
||||||
|
Loading…
Reference in New Issue
Block a user