Resolve issue with ipv4 VS ipv6