|
> 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.
|