From 32ad1f2067d05d2e82a233b67c68d649e4ceaabe Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 31 Aug 2021 20:02:09 -0700 Subject: [PATCH] Make IPv6 default An IPv4 socket is still made. The '-ipv6' parameter is replaced with '-noipv6', self explanatory. --- src/i_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_tcp.c b/src/i_tcp.c index ca55515ab..7878d1fbb 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -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;