Merge remote-tracking branch 'tor-github/pr/745' into maint-0.3.5

This commit is contained in:
teor 2019-04-19 11:48:41 +10:00
commit 2ae67fee42
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 6 additions and 1 deletions

5
changes/bug29144 Normal file
View File

@ -0,0 +1,5 @@
o Minor bugfixes (logging):
- Log the correct port number for listening sockets when "auto" is
used to let Tor pick the port number. Previously, port 0 was
logged instead of the actual port number. Fixes bug 29144;
bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.

View File

@ -1527,7 +1527,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
conn_type_to_string(type), conn->address);
} else {
log_notice(LD_NET, "Opened %s on %s",
conn_type_to_string(type), fmt_addrport(&addr, usePort));
conn_type_to_string(type), fmt_addrport(&addr, gotPort));
}
return conn;