mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:01:48 +00:00
[DHCPCSVC] Enable DHCP for wired Ethernet and wireless IEEE802.11 network interfaces
Fixes CORE-20244
This commit is contained in:
parent
66b782da3c
commit
8bf9b670ed
1 changed files with 3 additions and 1 deletions
|
@ -371,7 +371,9 @@ DWORD WINAPI AdapterDiscoveryThread(LPVOID Context) {
|
|||
|
||||
Adapter = (DHCP_ADAPTER*) calloc( sizeof( DHCP_ADAPTER ) + Table->table[i].dwMtu, 1 );
|
||||
|
||||
if( Adapter && Table->table[i].dwType == MIB_IF_TYPE_ETHERNET && InterfaceConnected(&Table->table[i])) {
|
||||
if (Adapter &&
|
||||
(Table->table[i].dwType == MIB_IF_TYPE_ETHERNET || Table->table[i].dwType == IF_TYPE_IEEE80211) &&
|
||||
InterfaceConnected(&Table->table[i])) {
|
||||
memcpy( &Adapter->IfMib, &Table->table[i],
|
||||
sizeof(Adapter->IfMib) );
|
||||
Adapter->DhclientInfo.client = &Adapter->DhclientState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue