From cea002a088814c7212a84cb6b342975b35acf7f2 Mon Sep 17 00:00:00 2001 From: likewise Date: Mon, 24 Mar 2003 14:30:18 +0000 Subject: [PATCH] Forgot #if LWIP_DHCP around netif->dhcp = NULL; --- src/core/netif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/netif.c b/src/core/netif.c index 8544d744..cdcb65a7 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -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++;