Fix for IPv6 addresses.