truncate long ip addresses (ipv6)