diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-24 13:26:50 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-24 13:53:55 -0500 |
commit | d9fbd34f42274050a67f6fb6f7ad449d60af7e66 (patch) | |
tree | 08d1af4bf353d94b7f2a665ad3285ccd757b7fb4 /src/or/routerlist.c | |
parent | fd8ee1d7c335a02a6fd29cd1a826037efe28e100 (diff) | |
download | tor-d9fbd34f42274050a67f6fb6f7ad449d60af7e66.tar.gz tor-d9fbd34f42274050a67f6fb6f7ad449d60af7e66.zip |
Extract protover summary flags into a new structure
This will let us use them on routerinfo_t as well as on
routerstatus_t, and save some time on relays.
No behavioral changes here.
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 2815c60963..061eba2d22 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -5665,11 +5665,11 @@ routerstatus_version_supports_extend2_cells(const routerstatus_t *rs, return allow_unknown_versions; } - if (!rs->protocols_known) { + if (!rs->pv.protocols_known) { return allow_unknown_versions; } - return rs->supports_extend2_cells; + return rs->pv.supports_extend2_cells; } /** Assert that the internal representation of <b>rl</b> is |