handle ipv6 shorthand