aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-04-25 13:41:04 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-05-09 12:36:39 -0400
commit01ffe8e2f4ca24325e81f040e1ac3a5a17afa5d5 (patch)
treee8530bb79ad45911e2a898d6a7a8f5fc98c940d8 /src/or/main.c
parent61d5ce83a1ecc459798b530730316bfebe3bb192 (diff)
downloadtor-01ffe8e2f4ca24325e81f040e1ac3a5a17afa5d5.tar.gz
tor-01ffe8e2f4ca24325e81f040e1ac3a5a17afa5d5.zip
config: Move any_client_port_set() to config.c
This functions is now used outside of networkstatus.c and makes more sense to be in config.c. It is also renamed to options_any_client_port_set() for the config.c namespace. No code behavior change. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index c3505a2d91..6cda56b3cb 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1497,7 +1497,7 @@ get_my_roles(const or_options_t *options)
int roles = 0;
int is_bridge = options->BridgeRelay;
- int is_client = any_client_port_set(options);
+ int is_client = options_any_client_port_set(options);
int is_relay = server_mode(options);
int is_dirauth = authdir_mode_v3(options);
int is_bridgeauth = authdir_mode_bridge(options);