From a942582b4bab1a9e31c915d5e365de894b687bef Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Fri, 5 May 2017 11:11:19 +0200 Subject: [PATCH] Minor #ifdef cleanup in netif.c --- src/core/netif.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/netif.c b/src/core/netif.c index ddedb4cc..880d7454 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -291,10 +291,8 @@ netif_add(struct netif *netif, if (gw == NULL) { gw = ip_2_ip4(IP4_ADDR_ANY); } -#endif /* LWIP_IPV4 */ /* reset new interface configuration state */ -#if LWIP_IPV4 ip_addr_set_zero_ip4(&netif->ip_addr); ip_addr_set_zero_ip4(&netif->netmask); ip_addr_set_zero_ip4(&netif->gw);