Forgot #if LWIP_DHCP around netif->dhcp = NULL;

This commit is contained in:
likewise 2003-03-24 14:30:18 +00:00
parent e062b70da8
commit cea002a088

View File

@ -68,10 +68,10 @@ netif_add(struct ip_addr *ipaddr, struct ip_addr *netmask,
DEBUGF(NETIF_DEBUG, ("netif_add(): out of memory for netif\n"));
return NULL;
}
#if LWIP_DHCP
/* netif not under DHCP control by default */
netif->dhcp = NULL;
#endif
/* remember netif specific state information data */
netif->state = state;
netif->num = netifnum++;