summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-31 11:12:28 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:23 -0500
commit111321ed16d59588d04e2c99ed949538e154f0e0 (patch)
tree3367f3ee7a4d76ebd45fb2b1c30641c046a426c3 /src/or/router.c
parent4bec25c3cd8869fb4b0cb6f1139bc2672b5b14a7 (diff)
downloadtor-111321ed16d59588d04e2c99ed949538e154f0e0.tar.gz
tor-111321ed16d59588d04e2c99ed949538e154f0e0.zip
Rename ipv{4,6}_only to bind_ipv{4,6}_only
This is to avoid confusion with the ipv{4,6}_traffic flags.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 5e9f3d542b..71d08860cf 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1561,7 +1561,7 @@ router_rebuild_descriptor(int force)
SMARTLIST_FOREACH_BEGIN(get_configured_ports(), const port_cfg_t *, p) {
if (p->type == CONN_TYPE_OR_LISTENER &&
! p->no_advertise &&
- ! p->ipv4_only &&
+ ! p->bind_ipv4_only &&
tor_addr_family(&p->addr) == AF_INET6) {
if (! tor_addr_is_internal(&p->addr, 0)) {
ipv6_orport = p;