diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-13 09:17:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-13 09:19:51 -0400 |
commit | 49d7feb8a0ecf7e3bc54c5cd7e0d2a96decdf08e (patch) | |
tree | 6d0cd2b85e0bfae82a1a8d7b3d8f90326bcd363f /src/or/router.c | |
parent | 1fc3e291083493bd7517901f467a7341d5c6f650 (diff) | |
download | tor-49d7feb8a0ecf7e3bc54c5cd7e0d2a96decdf08e.tar.gz tor-49d7feb8a0ecf7e3bc54c5cd7e0d2a96decdf08e.zip |
Tweak patch for 18529.
- function doesn't need to be inline.
- rename function
- Make documentation more pedantically correct
- Remove needless "? 1 : 0."
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 287bc1691e..1ac8351475 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -2093,7 +2093,7 @@ router_build_fresh_descriptor(routerinfo_t **r, extrainfo_t **e) tor_addr_family(&p->addr) == AF_INET6) { /* Like IPv4, if the relay is configured using the default * authorities, disallow internal IPs. Otherwise, allow them. */ - const int default_auth = is_default_dir_authorities(options); + const int default_auth = using_default_dir_authorities(options); if (! tor_addr_is_internal(&p->addr, 0) || ! default_auth) { ipv6_orport = p; break; |