From: Guus Sliepen Date: Mon, 21 May 2018 20:03:47 +0000 (+0200) Subject: Use getsockname() to get a listening sockets actual address in meshlink_stop(). X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;h=56e0dd5ad3936663d398500f80c9a502553659df;hp=56e0dd5ad3936663d398500f80c9a502553659df;p=meshlink Use getsockname() to get a listening sockets actual address in meshlink_stop(). This should be better than sending a packet to the listening address, which might be a link-local address for which a valid scope-id is necessary, and which might not be in listen_socket.sa. ---