mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-29 13:20:09 +00:00
Initialized netif->dhcp to NULL.
This commit is contained in:
parent
07058652c1
commit
ce4dbcec6a
@ -68,6 +68,9 @@ netif_add(struct ip_addr *ipaddr, struct ip_addr *netmask,
|
||||
DEBUGF(NETIF_DEBUG, ("netif_add(): out of memory for netif\n"));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* netif not under DHCP control by default */
|
||||
netif->dhcp = NULL;
|
||||
|
||||
/* remember netif specific state information data */
|
||||
netif->state = state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user