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/test/test_hs_common.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/test/test_hs_common.c')
-rw-r--r-- | src/test/test_hs_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c index 21daa58abd..8c273c9639 100644 --- a/src/test/test_hs_common.c +++ b/src/test/test_hs_common.c @@ -289,7 +289,7 @@ helper_add_hsdir_to_networkstatus(networkstatus_t *ns, memcpy(rs->identity_digest, identity, DIGEST_LEN); rs->is_hs_dir = is_hsdir; - rs->supports_v3_hsdir = 1; + rs->pv.supports_v3_hsdir = 1; strlcpy(rs->nickname, nickname, sizeof(rs->nickname)); tor_addr_parse(&ipv4_addr, "1.2.3.4"); ri->addr = tor_addr_to_ipv4h(&ipv4_addr); |