changes for ipv6

changes for ipv6
Is there code to do this for IPv6?