aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-24 13:49:15 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-24 13:53:56 -0500
commit92496a739aac44a537ee9062a4f0d71fba023156 (patch)
treed7f3c71ef5ad8e7c773e23b529ad64b7ca84cf02 /src/or/or.h
parent7792be2d446a35ad71d0c67fb762f868ae07b99c (diff)
downloadtor-92496a739aac44a537ee9062a4f0d71fba023156.tar.gz
tor-92496a739aac44a537ee9062a4f0d71fba023156.zip
Also cache the protover summary in the routerinfo_t, if we're using that
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 0be19fdbdd..2ef27a99a0 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2299,6 +2299,9 @@ typedef struct {
* this routerinfo. Used only during voting. */
unsigned int omit_from_vote:1;
+ /** Flags to summarize the protocol versions for this routerinfo_t. */
+ protover_summary_flags_t pv;
+
/** Tor can use this router for general positions in circuits; we got it
* from a directory server as usual, or we're an authority and a server
* uploaded it. */