mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 22:33:32 +00:00
Show in log if IPv6 support is disabled
fixup
This commit is contained in:
parent
4596f20b71
commit
4bb8183e6f
1 changed files with 7 additions and 0 deletions
|
@ -936,6 +936,13 @@ static boolean UDP_Socket(void)
|
|||
hints.ai_socktype = SOCK_DGRAM;
|
||||
hints.ai_protocol = IPPROTO_UDP;
|
||||
|
||||
#ifdef HAVE_IPV6
|
||||
if (!b_ipv6)
|
||||
I_OutputMsg("Disabling IPv6 support at runtime\n");
|
||||
#else
|
||||
I_OutputMsg("Compiled without IPv6 support\n");
|
||||
#endif
|
||||
|
||||
if (serverrunning)
|
||||
serv = serverport_name;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue