summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-28 17:45:41 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-28 18:11:58 -0400
commit6dfc0d530113e055d91b68969c81595ddc749f07 (patch)
treec994c70839c8667284eab875f96b101ae04cff59 /src/common
parentb8708b5bd30f5ef6dd34f7199a5588627486bcd2 (diff)
downloadtor-6dfc0d530113e055d91b68969c81595ddc749f07.tar.gz
tor-6dfc0d530113e055d91b68969c81595ddc749f07.zip
Avoid false positives from proxy_mode()
Previously it would erroneously return true if ListenAddr was set for a client port, even if that port itself was 0. This would give false positives, which were not previously harmful... but which were about to become.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions