aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-05-14 11:40:56 -0400
committerNick Mathewson <nickm@torproject.org>2019-05-14 11:40:56 -0400
commit1b05c7c9ed286190cdd40a99a2638ddb7c2b75e2 (patch)
treef1e48d25337daeed448710b76f0c92b6cf7068d5 /bandwidth-file-spec.txt
parentddcc8f95518579b986a7eaec02e6dd2b98a66cd5 (diff)
parent57c85e3e3aacf33d7aaf196f566e20f8b9559812 (diff)
downloadtorspec-1b05c7c9ed286190cdd40a99a2638ddb7c2b75e2.tar.gz
torspec-1b05c7c9ed286190cdd40a99a2638ddb7c2b75e2.zip
Merge remote-tracking branch 'tor-github/pr/82'
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 2776fab..abcd0a8 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -98,7 +98,7 @@
Int
SP (space)
NL (newline)
- Keyword
+ KeywordChar
ArgumentChar
nickname
hexdigest (a '$', followed by 40 hexadecimal characters
@@ -113,7 +113,8 @@
Line ::= ArgumentChar* NL
RelayLine ::= KeyValue (SP KeyValue)* NL
HeaderLine ::= KeyValue NL
- KeyValue ::= Keyword "=" Value
+ KeyValue ::= Key "=" Value
+ Key ::= (KeywordChar | "_")+
Value ::= ArgumentCharValue+
ArgumentCharValue ::= any printing ASCII character except NL and SP.
Terminator ::= "=====" or "===="