fix IPV4 handling on non-IPV6 capable hosts