mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
Fix IPv4 connectivity when IPv6 is enabled
This commit is contained in:
parent
3d498fe894
commit
ae05613460
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ static void SOCK_Send(void)
|
||||||
if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET)
|
if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET)
|
||||||
d = d4;
|
d = d4;
|
||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET6)
|
else if (clientaddress[doomcom->remotenode].any.sa_family == AF_INET6)
|
||||||
d = d6;
|
d = d6;
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue