Fix an issue when pinging a wireless device by name
This commit is contained in:
parent
1c703c60b5
commit
4e9399f9b5
@ -2450,7 +2450,10 @@ namespace EduNetworkBuilder
|
|||||||
answer = IPFromTypeNic(NicType.eth);
|
answer = IPFromTypeNic(NicType.eth);
|
||||||
if (answer != null)
|
if (answer != null)
|
||||||
return answer;
|
return answer;
|
||||||
|
//Otherwise, choose an wireless nic
|
||||||
|
answer = IPFromTypeNic(NicType.wlan);
|
||||||
|
if (answer != null)
|
||||||
|
return answer;
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user