Vladislav Yarmak 1 year ago
parent
commit
4a38be81ad
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      cmd/dtlspipe/main.go

+ 1 - 1
README.md

@@ -80,7 +80,7 @@ dtlspipe [OPTION]... hoppingclient <BIND ADDRESS> <ENDPOINT GROUP> [ENDPOINT GRO
   Endpoints are specified by a list of one or more ENDPOINT GROUP. ENDPOINT GROUP syntax is defined by following ABNF:
 
     ENDPOINT-GROUP = address-term *( "," address-term ) ":" Port
-    endpoint-term = Domain / IP-range / IP-prefix / IP-address
+    address-term = Domain / IP-range / IP-prefix / IP-address
     Domain = <Defined in Section 4.1.2 of [RFC5321]>
     IP-range = ( IPv4address ".." IPv4address ) / ( IPv6address ".." IPv6address )
     IP-prefix = IP-address "/" 1*DIGIT

+ 1 - 1
cmd/dtlspipe/main.go

@@ -169,7 +169,7 @@ func usage() {
 	fmt.Fprintln(out, "  Endpoints are specified by a list of one or more ENDPOINT GROUP. ENDPOINT GROUP syntax is defined by following ABNF:")
 	fmt.Fprintln(out)
 	fmt.Fprintln(out, "    ENDPOINT-GROUP = address-term *( \",\" address-term ) \":\" Port")
-	fmt.Fprintln(out, "    endpoint-term = Domain / IP-range / IP-prefix / IP-address")
+	fmt.Fprintln(out, "    address-term = Domain / IP-range / IP-prefix / IP-address")
 	fmt.Fprintln(out, "    Domain = <Defined in Section 4.1.2 of [RFC5321]>")
 	fmt.Fprintln(out, "    IP-range = ( IPv4address \"..\" IPv4address ) / ( IPv6address \"..\" IPv6address )")
 	fmt.Fprintln(out, "    IP-prefix = IP-address \"/\" 1*DIGIT")