Fix the Big Bug in router_compare_addr_to_exit_policy: we used port 0
commitbab6c0a3325c029428fbca727e60fac1a1766e5f
authorNick Mathewson <nickm@torproject.org>
Tue, 17 Feb 2004 08:52:03 +0000 (17 08:52 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 Feb 2004 08:52:03 +0000 (17 08:52 +0000)
treecb140d3512585536ac5cc269e52fe4794f810dac
parent46ffc5984d789e1ea7f334e3188838a7a63c553c
Fix the Big Bug in router_compare_addr_to_exit_policy: we used port 0
to mean "unknown port".  But no exit policy supports (nonexistant)
port 0, except accept *:*, and we had no special handling for 'unknown port'.

Now we do.

svn:r1098
src/or/routerlist.c