]> git.ipfire.org Git - thirdparty/tor.git/commit
Initialize ipv{4,6}_traffic_ok in entry_connection_new
authorNick Mathewson <nickm@torproject.org>
Sun, 18 Nov 2012 22:15:41 +0000 (17:15 -0500)
committerNick Mathewson <nickm@torproject.org>
Sun, 18 Nov 2012 22:15:41 +0000 (17:15 -0500)
commitbfe8d829c2bcfe24e1bdfe616444f074fe0f549c
treed5b8614de5b931a8abbd25e373ba4e56f1541384
parentecb619d96bf22150a926c233b3ddc5d82b3dc032
Initialize ipv{4,6}_traffic_ok in entry_connection_new

This one is necessary for sending BEGIN cells with sane flags when
self-testing a directory port.  All real entry connections were
getting their ipv{4,6}_traffic_ok flags set from their listeners, and
for begindir entry connections we didn't care, but for directory
self-testing, we had a problem.

Fixes at least one more case of 7493; if there are more lingering
cases of 7493, this might fix them too.

Bug not in any released version of Tor.
src/or/connection.c