samples: net: echo-server: Init tcp6_handler_in_use for IPv6

Initialize tcp6_handler_in_use instead of tcp4_handler_in_use for IPv6
in start_tcp.

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
Jan Van Winkel 2019-10-01 21:19:31 +02:00 committed by Jukka Rissanen
commit 391076c73e

View file

@ -325,7 +325,7 @@ void start_tcp(void)
tcp4_handler_in_use[i] = false;
#endif
#if defined(CONFIG_NET_IPV6)
tcp4_handler_in_use[i] = false;
tcp6_handler_in_use[i] = false;
#endif
}