mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Merge branch 'master' into feature/server_start_stop_hooks
This commit is contained in:
commit
5db0fdd713
2 changed files with 2 additions and 2 deletions
|
@ -829,7 +829,7 @@ NET_Socket(char *net_interface, int port, netsrc_t type, int family)
|
||||||
if (!net_interface || !net_interface[0] ||
|
if (!net_interface || !net_interface[0] ||
|
||||||
!Q_stricmp(net_interface, "localhost"))
|
!Q_stricmp(net_interface, "localhost"))
|
||||||
{
|
{
|
||||||
Host = (family == AF_INET6) ? "::1" : "0.0.0.0";
|
Host = (family == AF_INET6) ? "::/0" : "0.0.0.0";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -821,7 +821,7 @@ NET_IPSocket(char *net_interface, int port, netsrc_t type, int family)
|
||||||
if (!net_interface || !net_interface[0] ||
|
if (!net_interface || !net_interface[0] ||
|
||||||
!stricmp(net_interface, "localhost"))
|
!stricmp(net_interface, "localhost"))
|
||||||
{
|
{
|
||||||
Host = (family == AF_INET6) ? "::1" : "0.0.0.0";
|
Host = (family == AF_INET6) ? "::/0" : "0.0.0.0";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue