From e147e867bea13515c964e823e3f98c28f90cf22c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 26 Sep 2008 18:58:45 +0000 Subject: Proposal 152 implementation from Josh Albrecht, with tweaks. svn:r16983 --- src/or/router.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/or/router.c') diff --git a/src/or/router.c b/src/or/router.c index 94fa8d59de..29b930bbc0 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1687,7 +1687,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, "opt extra-info-digest %s\n%s" "onion-key\n%s" "signing-key\n%s" - "%s%s%s", + "%s%s%s%s", router->nickname, router->address, router->or_port, @@ -1704,7 +1704,8 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, onion_pkey, identity_pkey, family_line, we_are_hibernating() ? "opt hibernating 1\n" : "", - options->HidServDirectoryV2 ? "opt hidden-service-dir\n" : ""); + options->HidServDirectoryV2 ? "opt hidden-service-dir\n" : "", + options->AllowSingleHopExits ? "opt allow-single-hop-exits\n" : ""); tor_free(family_line); tor_free(onion_pkey); -- cgit v1.2.3-54-g00ecf