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:
parent
49d6837bec
commit
391076c73e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue