mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
feat(ipv6): Enable ipv6 autoconfig function in lwip port level
This commit is contained in:
@ -322,6 +322,9 @@ static void low_level_init(struct netif* netif)
|
|||||||
#if LWIP_IGMP
|
#if LWIP_IGMP
|
||||||
netif->flags |= NETIF_FLAG_IGMP;
|
netif->flags |= NETIF_FLAG_IGMP;
|
||||||
#endif
|
#endif
|
||||||
|
#if LWIP_IPV6_AUTOCONFIG
|
||||||
|
netif->ip6_autoconfig_enabled = 1;
|
||||||
|
#endif /* LWIP_IPV6_AUTOCONFIG */
|
||||||
/* Do whatever else is needed to initialize interface. */
|
/* Do whatever else is needed to initialize interface. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user