mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Add NO_IPV6 check
This commit is contained in:
parent
40f57de187
commit
2e885d4e6f
1 changed files with 4 additions and 0 deletions
|
@ -1364,7 +1364,11 @@ boolean I_InitTcpNetwork(void)
|
|||
|
||||
boolean Net_IsNodeIPv6(INT32 node)
|
||||
{
|
||||
#ifdef NO_IPV6
|
||||
return false;
|
||||
#else
|
||||
return clientaddress[node].any.sa_family == AF_INET6;
|
||||
#endif
|
||||
}
|
||||
|
||||
#include "i_addrinfo.c"
|
||||
|
|
Loading…
Reference in a new issue