diff options
author | Neel Chauhan <neel@neelc.org> | 2019-04-11 20:28:11 -0400 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2019-04-11 20:28:11 -0400 |
commit | 30279a7c575d2b27055e511a2f8cf84336387bb8 (patch) | |
tree | 1b9bc4e8639f391f2ed750013c963c8145156173 /src | |
parent | aa9940ed21e890ddbb0a3541bf15e7cca4c3b489 (diff) | |
download | tor-30279a7c575d2b27055e511a2f8cf84336387bb8.tar.gz tor-30279a7c575d2b27055e511a2f8cf84336387bb8.zip |
Use authdir_mode_bridge() in set_bridge_running_callback()
Diffstat (limited to 'src')
-rw-r--r-- | src/core/mainloop/mainloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c index 7609c630c8..fd711fd3bc 100644 --- a/src/core/mainloop/mainloop.c +++ b/src/core/mainloop/mainloop.c @@ -2594,7 +2594,7 @@ write_bridge_ns_callback(time_t now, const or_options_t *options) static int set_bridge_running_callback(time_t now, const or_options_t *options) { - if (options->BridgeAuthoritativeDir) { + if (authdir_mode_bridge(options)) { routerlist_t *rl = router_get_routerlist(); SMARTLIST_FOREACH_BEGIN(rl->routers, routerinfo_t *, ri) { |