From 129e754ae42db3ceb57a21c20affa094b02a9f7f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 20 Jan 2005 18:39:48 +0000 Subject: Warn when exit policy implicitly allows local addresses. svn:r3383 --- src/or/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/config.c') diff --git a/src/or/config.c b/src/or/config.c index b0cf8474c6..3175e13a11 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1480,6 +1480,7 @@ options_validate(or_options_t *options) log_fn(LOG_WARN, "Error in Exit Policy entry."); result = -1; } + exit_policy_implicitly_allows_local_networks(addr_policy, 1); if (config_parse_addr_policy(options->DirPolicy, &addr_policy)) { log_fn(LOG_WARN, "Error in DirPolicy entry."); result = -1; -- cgit v1.2.3-54-g00ecf