fixed compiling LWIP_HAVE_LOOPIF after changing struct netif.ip6_addr to ip_addr_t

This commit is contained in:
goldsimon 2015-09-24 07:58:29 +02:00
parent cc4d09423a
commit 0fbdd5e56e

View File

@ -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 */