mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Merge remote-tracking branch 'Furyhunter/ipv6-osx-fix'
This commit is contained in:
commit
01d441e6c0
1 changed files with 2 additions and 2 deletions
|
@ -651,7 +651,7 @@ static void SOCK_Send(void)
|
|||
if (broadcastaddress[i].any.sa_family == AF_INET)
|
||||
d = d4;
|
||||
#ifdef HAVE_IPV6
|
||||
if (broadcastaddress[i].any.sa_family == AF_INET6)
|
||||
else if (broadcastaddress[i].any.sa_family == AF_INET6)
|
||||
d = d6;
|
||||
#endif
|
||||
else
|
||||
|
@ -690,7 +690,7 @@ static void SOCK_Send(void)
|
|||
if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET)
|
||||
d = d4;
|
||||
#ifdef HAVE_IPV6
|
||||
if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET6)
|
||||
else if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET6)
|
||||
d = d6;
|
||||
#endif
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue