diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-18 11:01:43 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-18 11:01:43 -0500 |
commit | 53c3174ee43c3f54f8180be8256180f6f0d24c0d (patch) | |
tree | c6df23491f74db98f330a286dfc54fe8139fc367 /src/or | |
parent | 1b9bb2c847a97a50f519ee12df56b6dcdfe6686c (diff) | |
parent | d388f9d879ebedf05c7f399f8b8eb3df9c43d3af (diff) | |
download | tor-53c3174ee43c3f54f8180be8256180f6f0d24c0d.tar.gz tor-53c3174ee43c3f54f8180be8256180f6f0d24c0d.zip |
Merge branch 'maint-0.2.8' into maint-0.2.9
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/router.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c index 6d3a32a60c..aca8040a69 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -2867,6 +2867,15 @@ router_dump_router_to_string(routerinfo_t *router, smartlist_add_asprintf(chunks, "contact %s\n", ci); } + if (options->BridgeRelay) { + const char *bd; + if (options->PublishServerDescriptor_ & BRIDGE_DIRINFO) + bd = "any"; + else + bd = "none"; + smartlist_add_asprintf(chunks, "bridge-distribution-request %s\n", bd); + } + if (router->onion_curve25519_pkey) { char kbuf[128]; base64_encode(kbuf, sizeof(kbuf), |