summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-22 10:21:13 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-26 10:56:53 -0700
commit1ab641a70e1f2cc2548abfd03e62e3f8b04825d2 (patch)
tree2a0f5cdce457b13001bf9369ae26e284185b8d94 /src/or/networkstatus.c
parentf3382bd7223a3e5c0e6f1c32dc7d9e8a2d28fb36 (diff)
downloadtor-1ab641a70e1f2cc2548abfd03e62e3f8b04825d2.tar.gz
tor-1ab641a70e1f2cc2548abfd03e62e3f8b04825d2.zip
Remove version_known, and subtly change the meaning of protocols_known
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 3299a2c048..f113777be1 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1456,8 +1456,9 @@ routerstatus_has_changed(const routerstatus_t *a, const routerstatus_t *b)
a->is_valid != b->is_valid ||
a->is_possible_guard != b->is_possible_guard ||
a->is_bad_exit != b->is_bad_exit ||
- a->is_hs_dir != b->is_hs_dir ||
- a->version_known != b->version_known;
+ a->is_hs_dir != b->is_hs_dir;
+ // XXXX this function needs a huge refactoring; it has gotten out
+ // XXXX of sync with routerstatus_t, and it will do so again.
}
/** Notify controllers of any router status entries that changed between