Pike v8.1 release 6

Method NetUtils.normalize_address()


Method normalize_address

string normalize_address(string a)

Description

Normalize the IP specified in a. This normalizes IPv6 addresses and converts ::FFFF:<ipv4> and ::<ipv4> to "normal" IPV4 addresses.

Will return 0 if a is not a valid address.