properly trap ipv4 argument