aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index e35c4e5da..4d1d6bf97 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -542,7 +542,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router,
"router %s %s %d %d %d\n"
"platform %s\n"
"published %s\n"
- "bandwidth %d %d\n"
+ "bandwidth %d %d %d\n"
"onion-key\n%s"
"signing-key\n%s",
router->nickname,
@@ -557,6 +557,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router,
published,
(int) router->bandwidthrate,
(int) router->bandwidthburst,
+ (int) router->advertisedbandwidth,
onion_pkey, identity_pkey);
tor_free(onion_pkey);