From 49d7feb8a0ecf7e3bc54c5cd7e0d2a96decdf08e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 13 Oct 2016 09:17:41 -0400 Subject: Tweak patch for 18529. - function doesn't need to be inline. - rename function - Make documentation more pedantically correct - Remove needless "? 1 : 0." --- src/or/router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/router.c') 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; -- cgit v1.2.3-54-g00ecf