Make IPv6 default

An IPv4 socket is still made. The '-ipv6' parameter is
replaced with '-noipv6', self explanatory.
This commit is contained in:
James R 2021-08-31 20:02:09 -07:00
parent 44bafe0a32
commit 32ad1f2067

View file

@ -857,7 +857,7 @@ static boolean UDP_Socket(void)
struct my_addrinfo *ai, *runp, hints;
int gaie;
#ifdef HAVE_IPV6
const INT32 b_ipv6 = M_CheckParm("-ipv6");
const INT32 b_ipv6 = !M_CheckParm("-noipv6");
#endif
const char *serv;