mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
More fixes to rip out all of the v2 directory code.
(This was a squash commit, but I forgot to squash it. Sorry! --Nick)
This commit is contained in:
committed by
Nick Mathewson
parent
881c7c0f7d
commit
00ec6e6af0
@@ -339,7 +339,7 @@ static token_rule_t extrainfo_token_table[] = {
|
||||
END_OF_TABLE
|
||||
};
|
||||
|
||||
/** List of tokens recognized in the body part of v2 and v3 networkstatus
|
||||
/** List of tokens recognized in the body part of v3 networkstatus
|
||||
* documents. */
|
||||
static token_rule_t rtrstatus_token_table[] = {
|
||||
T01("p", K_P, CONCAT_ARGS, NO_OBJ ),
|
||||
@@ -461,8 +461,7 @@ static token_rule_t networkstatus_consensus_token_table[] = {
|
||||
END_OF_TABLE
|
||||
};
|
||||
|
||||
/** List of tokens recognized in the footer of v1/v2 directory/networkstatus
|
||||
* footers. */
|
||||
/** List of tokens recognized in the footer of v1 directory footers. */
|
||||
static token_rule_t networkstatus_vote_footer_token_table[] = {
|
||||
T01("directory-footer", K_DIRECTORY_FOOTER, NO_ARGS, NO_OBJ ),
|
||||
T01("bandwidth-weights", K_BW_WEIGHTS, ARGS, NO_OBJ ),
|
||||
|
||||
Reference in New Issue
Block a user