aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2019-07-02 19:09:22 +0200
committerDavid Goulet <dgoulet@torproject.org>2020-10-06 09:30:10 -0400
commitad087432995e1a55b9b9e63f28e295cbec528890 (patch)
treeb447a8e07663fa3708b900a7b978344575549091 /src/app/config/config.c
parentdb0aaf428ebb00b37b451db1d5eecb2fd5689b79 (diff)
downloadtor-ad087432995e1a55b9b9e63f28e295cbec528890.tar.gz
tor-ad087432995e1a55b9b9e63f28e295cbec528890.zip
Rename `OUTBOUND_ADDR_EXIT_AND_OR` to `OUTBOUND_ADDR_ANY`.
This patch renames the enumeration value in `outbound_addr_t` from `OUTBOUND_ADDR_EXIT_AND_OR` to `OUTBOUND_ADDR_ANY` since with the arrival of `OUTBOUND_ADDR_PT` it no longer makes sense to call the fallback value for "Exit and OR". Instead we rename it to "any". See: https://bugs.torproject.org/5304
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r--src/app/config/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 9fee83aebb..46d98b2ab2 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -7205,7 +7205,7 @@ parse_outbound_addresses(or_options_t *options, int validate_only, char **msg)
}
if (parse_outbound_address_lines(options->OutboundBindAddress,
- OUTBOUND_ADDR_EXIT_AND_OR, options,
+ OUTBOUND_ADDR_ANY, options,
validate_only, msg) < 0) {
goto err;
}