summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-08 18:51:19 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-08 18:51:19 -0500
commitc58592e658d6e9d7a99ec61b3746a80e4e6debe0 (patch)
tree4e58d59384b5fe56dc8f39d0ce09b589761b7fe7 /src/or/routerparse.c
parent31f41fe09613398dc818ae30251724779f1f53c8 (diff)
parent89ec191b6885d8e65f7cbdf1a56e2627c3aec75a (diff)
downloadtor-c58592e658d6e9d7a99ec61b3746a80e4e6debe0.tar.gz
tor-c58592e658d6e9d7a99ec61b3746a80e4e6debe0.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 5bc2d39579..b391e88f22 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1924,7 +1924,7 @@ router_parse_entry_from_string(const char *s, const char *end,
}
}
- if (policy_is_reject_star(router->exit_policy, AF_INET) &&
+ if (policy_is_reject_star(router->exit_policy, AF_INET, 1) &&
(!router->ipv6_exit_policy ||
short_policy_is_reject_star(router->ipv6_exit_policy)))
router->policy_is_reject_star = 1;