]> git.ipfire.org Git - thirdparty/tor.git/commit
Figure out ORPort and DirPort even when 'auto' is used.
authorGeorge Kadianakis <desnacked@riseup.net>
Wed, 5 Sep 2012 17:17:25 +0000 (20:17 +0300)
committerGeorge Kadianakis <desnacked@riseup.net>
Wed, 5 Sep 2012 17:17:25 +0000 (20:17 +0300)
commit4edc57caa5c4a7d4d46d30bf0150a7f70e8dcccb
tree745d76f7c53824f744546bd5f2ee77ef02769a9e
parentb9551fd0741434e9d0917355d67164775eb25fbe
Figure out ORPort and DirPort even when 'auto' is used.

Use router_get_advertised_{dir,or}_port() functions instead of
get_primary_{dir,or}_port().
src/or/config.c