adding ipv6 support