mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-21 10:20:42 +00:00
Make IPv6 default
An IPv4 socket is still made. The '-ipv6' parameter is replaced with '-noipv6', self explanatory.
This commit is contained in:
parent
44bafe0a32
commit
32ad1f2067
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ static boolean UDP_Socket(void)
|
||||||
struct my_addrinfo *ai, *runp, hints;
|
struct my_addrinfo *ai, *runp, hints;
|
||||||
int gaie;
|
int gaie;
|
||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
const INT32 b_ipv6 = M_CheckParm("-ipv6");
|
const INT32 b_ipv6 = !M_CheckParm("-noipv6");
|
||||||
#endif
|
#endif
|
||||||
const char *serv;
|
const char *serv;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue