No ip addresses for wport nics

This commit is contained in:
Tim Young 2015-08-22 13:57:25 -07:00
parent 501e0fc571
commit 5df3735d09

View File

@ -191,6 +191,7 @@ namespace EduNetworkBuilder
{ {
List<string> theIPs = new List<string>(); List<string> theIPs = new List<string>();
if (myNicType == NicType.port) return theIPs; if (myNicType == NicType.port) return theIPs;
if (myNicType == NicType.wport) return theIPs;
if (myNicType == NicType.none) return theIPs; if (myNicType == NicType.none) return theIPs;
string DHCPString = ""; string DHCPString = "";
if (UsesDHCP && CanUseDHCP) DHCPString = "DHCP: "; if (UsesDHCP && CanUseDHCP) DHCPString = "DHCP: ";