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

This commit is contained in:
yuanjm
2020-02-26 15:10:21 +08:00
parent adef736657
commit 2618bf6f1f

View File

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