diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-04-14 21:48:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-14 21:48:44 -0400 |
commit | a6545d6335cd7829cdc9c0d7ce2e61b775bcca1d (patch) | |
tree | 1b8f232858f85b54553ee8afe39413fc2993c3be /src/or/or.h | |
parent | 8aded5b07c14824b6fcbd7583af9ed4f4d8466d3 (diff) | |
parent | f3ae628517c311c4339f91bbeb8230d13a172d53 (diff) | |
download | tor-a6545d6335cd7829cdc9c0d7ce2e61b775bcca1d.tar.gz tor-a6545d6335cd7829cdc9c0d7ce2e61b775bcca1d.zip |
Merge branch 'bug8683_rebased' into maint-0.2.4
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 6f6d303354..d7142e298a 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2099,7 +2099,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. */ @@ -2345,7 +2345,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; @@ -4481,7 +4481,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 |