aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-04-14 21:57:56 -0400
committerNick Mathewson <nickm@torproject.org>2013-04-14 21:57:56 -0400
commitd34d0b4dc523ae35ab9f9fdc79a54c2601161996 (patch)
tree6bc0cbb2b526b8b8e0e463842db2e9c9fad7956f /src/or/or.h
parent95ccb1e812ef1a1c38bd3275b2bbf6b95e0c490d (diff)
parenta6545d6335cd7829cdc9c0d7ce2e61b775bcca1d (diff)
downloadtor-d34d0b4dc523ae35ab9f9fdc79a54c2601161996.tar
tor-d34d0b4dc523ae35ab9f9fdc79a54c2601161996.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts: src/or/dirserv.c
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index f5c5fc68e..9a7c8b5e8 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2101,7 +2101,7 @@ typedef struct routerstatus_t {
unsigned int bw_is_unmeasured:1; /**< This is a consensus entry, with
* the Unmeasured flag set. */
- uint32_t bandwidth; /**< Bandwidth (capacity) of the router as reported in
+ uint32_t bandwidth_kb; /**< Bandwidth (capacity) of the router as reported in
* the vote/consensus, in kilobytes/sec. */
char *exitsummary; /**< exit policy summary -
* XXX weasel: this probably should not stay a string. */
@@ -2347,7 +2347,7 @@ typedef struct vote_routerstatus_t {
char *version; /**< The version that the authority says this router is
* running. */
unsigned int has_measured_bw:1; /**< The vote had a measured bw */
- uint32_t measured_bw; /**< Measured bandwidth (capacity) of the router */
+ uint32_t measured_bw_kb; /**< Measured bandwidth (capacity) of the router */
/** The hash or hashes that the authority claims this microdesc has. */
vote_microdesc_hash_t *microdesc;
} vote_routerstatus_t;
@@ -4479,7 +4479,7 @@ typedef enum {
typedef struct measured_bw_line_t {
char node_id[DIGEST_LEN];
char node_hex[MAX_HEX_NICKNAME_LEN+1];
- long int bw;
+ long int bw_kb;
} measured_bw_line_t;
#endif