ip6: enable ip6_autoconfig_enabled by default

See bug #56135

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
Gao Qingshui
2019-04-14 12:26:08 +02:00
committed by Simon Goldschmidt
parent 3034e9fad0
commit a9ac18aebb
4 changed files with 2 additions and 7 deletions

View File

@@ -342,8 +342,8 @@ netif_add(struct netif *netif,
#endif /* LWIP_NUM_NETIF_CLIENT_DATA */
#if LWIP_IPV6
#if LWIP_IPV6_AUTOCONFIG
/* IPv6 address autoconfiguration not enabled by default */
netif->ip6_autoconfig_enabled = 0;
/* IPv6 address autoconfiguration should be enabled by default */
netif->ip6_autoconfig_enabled = 1;
#endif /* LWIP_IPV6_AUTOCONFIG */
nd6_restart_netif(netif);
#endif /* LWIP_IPV6 */