mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-07 13:20:10 +00:00
Initialized netif->dhcp to NULL.
This commit is contained in:
parent
07058652c1
commit
ce4dbcec6a
@ -69,6 +69,9 @@ netif_add(struct ip_addr *ipaddr, struct ip_addr *netmask,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* netif not under DHCP control by default */
|
||||
netif->dhcp = NULL;
|
||||
|
||||
/* remember netif specific state information data */
|
||||
netif->state = state;
|
||||
netif->num = netifnum++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user