mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
Update network.c
Fix IPV6 for MacOS - probably other OS'es too.
This commit is contained in:
parent
0043977566
commit
0720409d3e
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ NET_Socket(char *net_interface, int port, netsrc_t type, int family)
|
|||
if (!net_interface || !net_interface[0] ||
|
||||
!Q_stricmp(net_interface, "localhost"))
|
||||
{
|
||||
Host = (family == AF_INET6) ? "::" : "0.0.0.0";
|
||||
Host = (family == AF_INET6) ? "::1" : "0.0.0.0";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue