passing in correct ipv4