Log the correct "auto" port number for listening sockets
commit389ee834b6795ccabbe3d4c7edfdaf8d89696438
authorKris Katterjohn <katterjohn@gmail.com>
Mon, 21 Jan 2019 19:12:53 +0000 (21 13:12 -0600)
committerteor <teor@torproject.org>
Fri, 1 Mar 2019 02:34:21 +0000 (1 12:34 +1000)
treebb594e5938a74374e77ce23720d4f6e835b48039
parentde0969ef7816d54acdcc9f1e2960d8bbc4400ecf
Log the correct "auto" port number for listening sockets

When "auto" was used for the port number for a listening socket, the
message logged after opening the socket would incorrectly say port 0
instead of the actual port used.

Fixes bug 29144; bugfix on 0.3.5.1-alpha

Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
changes/bug29144 [new file with mode: 0644]
src/core/mainloop/connection.c