aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c2c8d3265..407782667 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1837,6 +1837,12 @@ parse_reachable_addresses(void)
{
or_options_t *options = get_options();
+ if (options->ReachableDirAddresses &&
+ options->ReachableORAddresses &&
+ options->ReachableAddresses)
+ log_warn(LD_CONFIG, "Both ReachableDirAddresses and ReachableORAddresses are set. "
+ "ReachableAddresses setting will be ignored.");
+
addr_policy_free(reachable_or_addr_policy);
reachable_or_addr_policy = NULL;
if (!options->ReachableORAddresses && options->ReachableAddresses)