}
}
- /* we allocate IPv6 sockets first as that will reserve randomly allocated
- * ports also for IPv4. On OS X, we have to do it the other way round
- * for the same effect. */
-#ifdef __APPLE__
open_socketpair(this, AF_INET, &this->ipv4, &this->ipv4_natt, "IPv4");
open_socketpair(this, AF_INET6, &this->ipv6, &this->ipv6_natt, "IPv6");
-#else /* !__APPLE__ */
- open_socketpair(this, AF_INET6, &this->ipv6, &this->ipv6_natt, "IPv6");
- open_socketpair(this, AF_INET, &this->ipv4, &this->ipv4_natt, "IPv4");
-#endif /* __APPLE__ */
if (this->ipv4 == -1 && this->ipv6 == -1)
{