DOC: proxy-protocol: clarify IPv6 address representation in the spec

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.
This commit is contained in:
Willy Tarreau 2020-02-25 18:04:39 +01:00
parent e0f3fd5b4c
commit 269a9b61b8

View 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 )