Removed conditional IPv6 support.
FossilOrigin-Name: 70d748d99d4ded4c07decb159bc28877d8527ad62683bcac3805c24986d9bb57
This commit is contained in:
parent
0c4eed4c59
commit
9156eb74dd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user