aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirparse/ns_parse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-10-15 18:02:16 -0400
committerNick Mathewson <nickm@torproject.org>2020-10-15 18:02:16 -0400
commite934d713b3847401ee08581dae88bb4a4eea5c14 (patch)
treefcf435858774441db136296f32ec397c305cfc7c /src/feature/dirparse/ns_parse.c
parentbb249a221f35fe3cef53df4c36c84c2d5e63b66d (diff)
downloadtor-e934d713b3847401ee08581dae88bb4a4eea5c14.tar.gz
tor-e934d713b3847401ee08581dae88bb4a4eea5c14.zip
Mark as required fields from prop315.
This change breaks some unit tests; it's time to fix those in subsequent commits.
Diffstat (limited to 'src/feature/dirparse/ns_parse.c')
-rw-r--r--src/feature/dirparse/ns_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirparse/ns_parse.c b/src/feature/dirparse/ns_parse.c
index 927870c4aa..d24b0cb18d 100644
--- a/src/feature/dirparse/ns_parse.c
+++ b/src/feature/dirparse/ns_parse.c
@@ -54,7 +54,7 @@ static token_rule_t rtrstatus_token_table[] = {
T01("w", K_W, ARGS, NO_OBJ ),
T0N("m", K_M, CONCAT_ARGS, NO_OBJ ),
T0N("id", K_ID, GE(2), NO_OBJ ),
- T01("pr", K_PROTO, CONCAT_ARGS, NO_OBJ ),
+ T1("pr", K_PROTO, CONCAT_ARGS, NO_OBJ ),
T0N("opt", K_OPT, CONCAT_ARGS, OBJ_OK ),
END_OF_TABLE
};