diff options
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index ff77955110..856f2c4a52 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -656,7 +656,7 @@ connection_edge_process_end_not_open( log_fn(LOG_NOTICE,"Exitrouter '%s' seems to be more restrictive than its exit policy. Not using this router as exit for now.", exitrouter->nickname); addr_policy_free(exitrouter->exit_policy); exitrouter->exit_policy = - router_parse_addr_policy_from_string("reject *:*"); + router_parse_addr_policy_from_string("reject *:*", -1); } if (connection_ap_detach_retriable(conn, circ) >= 0) return 0; @@ -683,7 +683,7 @@ connection_edge_process_end_not_open( if (exitrouter) { addr_policy_free(exitrouter->exit_policy); exitrouter->exit_policy = - router_parse_addr_policy_from_string("reject *:*"); + router_parse_addr_policy_from_string("reject *:*", -1); } if (connection_ap_detach_retriable(conn, circ) >= 0) return 0; |