Further fix IPv4 when IPv6 is available

This commit is contained in:
Ronald Kinard 2015-02-05 15:36:07 -06:00
parent ae05613460
commit 062a746fdd

View file

@ -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