]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: proxy-protocol: clarify IPv6 address representation in the spec
authorWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2020 17:04:39 +0000 (18:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2020 17:06:32 +0000 (18:06 +0100)
Daniel Barclay reported that the wording around "IPv6 addresses must be
indicated as series of 4 hex digits" is confusing and can be interpreted
two ways (only 4 digits or series of sets of 4 digits), so let's adjust
the wording to resolve this ambiguity.

doc/proxy-protocol.txt

index 52d7bc71c76b00ff3bea5702f9821ee8a77ba38d..26f86a34535af6730cad3fcfd58de7291a20f6ee 100644 (file)
@@ -223,11 +223,11 @@ flowing from the sender to the receiver :
     written in decimal representation separated by exactly one dot between each
     other. Heading zeroes are not permitted in front of numbers in order to
     avoid any possible confusion with octal numbers. IPv6 addresses must be
-    indicated as series of 4 hexadecimal digits (upper or lower case) delimited
-    by colons between each other, with the acceptance of one double colon
-    sequence to replace the largest acceptable range of consecutive zeroes. The
-    total number of decoded bits must exactly be 128. The advertised protocol
-    family dictates what format to use.
+    indicated as series of sets of 4 hexadecimal digits (upper or lower case)
+    delimited by colons between each other, with the acceptance of one double
+    colon sequence to replace the largest acceptable range of consecutive
+    zeroes. The total number of decoded bits must exactly be 128. The
+    advertised protocol family dictates what format to use.
 
   - exactly one space : " " ( \x20 )