File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,10 @@ bool LWIP_SOCKETS_Driver::Initialize()
283283
284284 g_LWIP_SOCKETS_Driver.m_interfaces [i].m_interfaceNumber = interfaceNumber;
285285
286- UpdateAdapterConfiguration (i, (NetworkInterface_UpdateOperation_Dns), &networkConfiguration);
286+ UpdateAdapterConfiguration (
287+ i,
288+ (NetworkInterface_UpdateOperation_Dhcp | NetworkInterface_UpdateOperation_Dns),
289+ &networkConfiguration);
287290
288291 networkInterface = netif_find_interface (interfaceNumber);
289292
@@ -1344,12 +1347,6 @@ HRESULT LWIP_SOCKETS_Driver::UpdateAdapterConfiguration(
13441347 {
13451348 dhcp_renew (networkInterface);
13461349 }
1347- else if (
1348- 0 !=
1349- (updateFlags & (NetworkInterface_UpdateOperation_DhcpRelease | NetworkInterface_UpdateOperation_DhcpRenew)))
1350- {
1351- return CLR_E_INVALID_PARAMETER;
1352- }
13531350 }
13541351#endif
13551352
You can’t perform that action at this time.
0 commit comments