maintain consistency for the v4only flag when v6 sockets are not supported