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

@@ -371,9 +371,6 @@ test_netif_init(void)
#endif
#if LWIP_IPV6
netif_create_ip6_linklocal_address(netif_default, 1);
#if LWIP_IPV6_AUTOCONFIG
netif_default->ip6_autoconfig_enabled = 1;
#endif
printf("ip6 linklocal address: %s\n", ip6addr_ntoa(netif_ip6_addr(netif_default, 0)));
#endif /* LWIP_IPV6 */
#if LWIP_NETIF_STATUS_CALLBACK