[*] Caught Windows XP network iface regression
This commit is contained in:
parent
e071b3d509
commit
01824d6589
@ -276,10 +276,9 @@ namespace Aurora::IO::Net
|
||||
{
|
||||
auto pAdapterEx = AuStaticCast<NetAdapter>(pAdapter);
|
||||
|
||||
pAdapterEx->dhcp = pIPAddrTable->DhcpEnabled;
|
||||
|
||||
if (pAdapterEx->device == AuString(pIPAddrTable->AdapterName))
|
||||
{
|
||||
pAdapterEx->dhcp = pIPAddrTable->DhcpEnabled;
|
||||
pAdapterEx->gateway = IPAddress(pIPAddrTable->GatewayList.IpAddress.String);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user