aboutsummaryrefslogtreecommitdiff
path: root/spec/dir-spec/nonterminals-server-descriptors.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-10-14 14:07:40 -0400
committerNick Mathewson <nickm@torproject.org>2023-10-14 14:07:40 -0400
commit4ba45dfd9afd08edeb46243127a480f1d23b9640 (patch)
tree4dcdb3b4ac378b255d8292693ef234100bf67ac5 /spec/dir-spec/nonterminals-server-descriptors.md
parentd4b9bcc71565e1c3b7b74ddfcd44730697c10c6b (diff)
downloadtorspec-4ba45dfd9afd08edeb46243127a480f1d23b9640.tar.gz
torspec-4ba45dfd9afd08edeb46243127a480f1d23b9640.zip
Run mdformat on the spec files.
Diffstat (limited to 'spec/dir-spec/nonterminals-server-descriptors.md')
-rw-r--r--spec/dir-spec/nonterminals-server-descriptors.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/dir-spec/nonterminals-server-descriptors.md b/spec/dir-spec/nonterminals-server-descriptors.md
index 62298cb..4991e9e 100644
--- a/spec/dir-spec/nonterminals-server-descriptors.md
+++ b/spec/dir-spec/nonterminals-server-descriptors.md
@@ -11,7 +11,7 @@
```
exitpattern ::= addrspec ":" portspec
-portspec ::= "*" | port | port "-" port
+portspec ::= "\*" | port | port "-" port
port ::= an integer between 1 and 65535, inclusive.
```text
@@ -20,7 +20,7 @@ port ::= an integer between 1 and 65535, inclusive.
Connections to port 0 are never permitted.]
```
-addrspec ::= "*" | ip4spec | ip6spec
+addrspec ::= "\*" | ip4spec | ip6spec
ipv4spec ::= ip4 | ip4 "/" num_ip4_bits | ip4 "/" ip4mask
ip4 ::= an IPv4 address in dotted-quad format
ip4mask ::= an IPv4 mask in dotted-quad format