diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-24 11:55:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-24 18:05:37 -0400 |
commit | 0e1fad648d22923d7455b94734df36585b8f624f (patch) | |
tree | 6de6bacd5e30277f9d45669efba2872a7657aff9 /src/common/util.c | |
parent | 95ac3ea5946f723ddab474fe229a872669aee47f (diff) | |
download | tor-0e1fad648d22923d7455b94734df36585b8f624f.tar tor-0e1fad648d22923d7455b94734df36585b8f624f.tar.gz |
Don't try to build descriptors when router_get_advertised_or_port()==0
The previous attempt was incomplete: it told us not to publish a
descriptor, but didn't stop us from generating one. Now we treat an
absent OR port the same as not knowing our address. (This means
that when we _do_ get an OR port, we need to mark the descriptor
dirty.)
More attempt to fix bug3216.
Diffstat (limited to 'src/common/util.c')
0 files changed, 0 insertions, 0 deletions