Correctly show IPv4/IPv6 addresses