diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-13 19:06:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-13 19:06:23 +0000 |
commit | c3626cdba7a438986f593b7b76be2399a24100ac (patch) | |
tree | e2b92c03a9c885f7a2150043395c4445273f4d61 /src/or/or.h | |
parent | 05cf945a1c540806fd7e3be14a52d6c4c01215ea (diff) | |
download | tor-c3626cdba7a438986f593b7b76be2399a24100ac.tar.gz tor-c3626cdba7a438986f593b7b76be2399a24100ac.zip |
r13395@catbus: nickm | 2007-06-13 15:01:23 -0400
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents.
svn:r10589
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index a34a03bf93..64689d8c74 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1205,6 +1205,7 @@ typedef struct routerstatus_t { uint32_t addr; /**< IPv4 address for this router. */ uint16_t or_port; /**< OR port for this router. */ uint16_t dir_port; /**< Directory port for this router. */ + unsigned int is_authority:1; /**< True iff this router is an authority. */ unsigned int is_exit:1; /**< True iff this router is a good exit. */ unsigned int is_stable:1; /**< True iff this router stays up a long time. */ unsigned int is_fast:1; /**< True iff this router has good bandwidth. */ |