From ae056134608632aeff7a1427ef1827403b9b0d14 Mon Sep 17 00:00:00 2001 From: Ronald Kinard Date: Thu, 5 Feb 2015 00:32:54 -0600 Subject: [PATCH] Fix IPv4 connectivity when IPv6 is enabled --- src/i_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_tcp.c b/src/i_tcp.c index df7b3cf28..6cfc8c7c2 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -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