Removed conditional IPv6 support.

FossilOrigin-Name: 70d748d99d4ded4c07decb159bc28877d8527ad62683bcac3805c24986d9bb57
This commit is contained in:
7u83@mail.ru 2016-02-14 10:25:31 +00:00
parent 0c4eed4c59
commit 9156eb74dd

View File

@ -34,11 +34,9 @@ int sock_create(const struct sockaddr * sa)
case AF_INET:
salen = sizeof(struct sockaddr_in);
break;
#ifdef WITH_IPV6
case AF_INET6:
salen = sizeof(struct sockaddr_in6);
break;
#endif
default:
return -1;
}