diff --git a/src/core/netif.c b/src/core/netif.c index d82b644e..37e7374a 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -156,7 +156,7 @@ netif_init(void) #endif /* NO_SYS */ #if LWIP_IPV6 - IP6_ADDR(loop_netif.ip6_addr, 0, 0, 0, PP_HTONL(0x00000001UL)); + IP_ADDR6(loop_netif.ip6_addr, 0, 0, 0, PP_HTONL(0x00000001UL)); loop_netif.ip6_addr_state[0] = IP6_ADDR_VALID; #endif /* LWIP_IPV6 */