ipv4 if statement