summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
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))