diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-14 23:00:57 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-14 23:00:57 +0000 |
commit | ceae7ed96020cf4e4936d57367ca004ba1166147 (patch) | |
tree | 10a04c2b140c1ac28db857e78a88fd8eb9ffd308 /src/or/routerparse.c | |
parent | 82f8050ac428416a91997003b205ac90019768dd (diff) | |
download | tor-ceae7ed96020cf4e4936d57367ca004ba1166147.tar.gz tor-ceae7ed96020cf4e4936d57367ca004ba1166147.zip |
Add bw to consensus
svn:r16551
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 8c66127cf3..303d129010 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1879,6 +1879,7 @@ routerstatus_parse_entry_from_string(memarea_t *area, log_warn(LD_DIR, "Invalid Bandwidth %s", escaped(tok->args[i])); goto err; } + rs->has_bandwidth = 1; } } } @@ -1897,6 +1898,7 @@ routerstatus_parse_entry_from_string(memarea_t *area, } /* XXX weasel: parse this into ports and represent them somehow smart */ rs->exitsummary = tor_strdup(tok->args[1]); + rs->has_exitsummary = 1; } if (!strcasecmp(rs->nickname, UNNAMED_ROUTER_NICKNAME)) |