Added ipv6 handling to ping