Method Protocols.IPv6.normalize_addr_basic()
- Method
normalize_addr_basic
string|zeronormalize_addr_basic(stringaddr)- Description
Normalizes a formatted IPv6 address to a string with eight hexadecimal numbers separated by ":".
addris given on the same form, or any of the shorthand varieties as specified in RFC 2373 section 2.2.All hexadecimal letters in the returned address are lower-case, and there are no superfluous leading zeroes in the fields.
Zero is returned if
addris incorrectly formatted.- See also