mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-06 18:41:30 +00:00
fixed compiling LWIP_HAVE_LOOPIF after changing struct netif.ip6_addr to ip_addr_t
This commit is contained in:
parent
cc4d09423a
commit
0fbdd5e56e
@ -156,7 +156,7 @@ netif_init(void)
|
|||||||
#endif /* NO_SYS */
|
#endif /* NO_SYS */
|
||||||
|
|
||||||
#if LWIP_IPV6
|
#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;
|
loop_netif.ip6_addr_state[0] = IP6_ADDR_VALID;
|
||||||
#endif /* LWIP_IPV6 */
|
#endif /* LWIP_IPV6 */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user