fix ipv4 and ipv6 ip requests