Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL)
-
None
-
None
Description
> select INET6_NTOA(INET6_ATON("2001:db8:0:1:1:1:1:1"));
|
+------------------------------------------------+
|
| INET6_NTOA(INET6_ATON("2001:db8:0:1:1:1:1:1")) |
|
+------------------------------------------------+
|
| 2001:db8::1:1:1:1:1 |
|
+------------------------------------------------+
|
This is wrong, must be 2001:db8:0:1:1:1:1:1
look RFC:
https://www.ietf.org/rfc/rfc5952.txt
4.2.2. Handling One 16-Bit 0 Field
The symbol "::" MUST NOT be used to shorten just one 16-bit 0 field.
For example, the representation 2001:db8:0:1:1:1:1:1 is correct, but
2001:db8::1:1:1:1:1 is not correct.