diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-12-12 01:03:28 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-12-12 01:03:28 +0000 |
commit | 27a201ac808b4e759495a1b36df80b823bb8f015 (patch) | |
tree | 5925077b60ca01addf38c0190f99321e9b6b6c03 /src/or/routerparse.c | |
parent | 32126cced1229f456de64ddcbc05ff0d6f191c4a (diff) | |
download | tor-27a201ac808b4e759495a1b36df80b823bb8f015.tar tor-27a201ac808b4e759495a1b36df80b823bb8f015.tar.gz |
Have dirctory authorites note which servers make good V2 directory caches in publishe network-status.
svn:r5574
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 667d379ac..e0f679b6d 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1057,6 +1057,8 @@ routerstatus_parse_entry_from_string(const char **s, smartlist_t *tokens) rs->is_named = 1; else if (!strcmp(tok->args[i], "Valid")) rs->is_valid = 1; + else if (!strcmp(tok->args[i], "V2Dir")) + rs->is_v2_dir = 1; } } |