feat(ipv6): Enable ipv6 autoconfig function in lwip port level

This commit is contained in:
yuanjm
2020-01-07 15:39:52 +08:00
parent d1cfba3e09
commit 81d3baafa5

View File

@ -299,6 +299,10 @@ static void low_level_init(struct netif* netif)
netif->flags |= NETIF_FLAG_IGMP; netif->flags |= NETIF_FLAG_IGMP;
#endif #endif
/* Do whatever else is needed to initialize interface. */ /* Do whatever else is needed to initialize interface. */
#if LWIP_IPV6_AUTOCONFIG
netif->ip6_autoconfig_enabled = 1;
#endif /* LWIP_IPV6_AUTOCONFIG */
} }
/* /*