Skip to content
Commit 2238baa8 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Maureen Helm
Browse files

net: tcp: Do not overwrite remote address in new conn



When a new incoming connection is accepted, do not overwrite
the listening remote address. The remote address for the
listening socket is the any address (like :: for IPv6)
and not the accepted socket remote address.
This only affects the "net conn" shell command which prints
the remote address incorrectly. There is no problem accepting
new connections in this case.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent bc41d03e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment