fix ipv4/ipv6 paths