In set_sndbuf() we were using ISC_PLATFORM_HAVEIPV6 macro that doesn't
exist anymore, because we assume that IPv6 support is always available.
(cherry picked from commit
96ac91a18a6e506824c63d10a05e532d584ff5c1)
socklen_t len;
fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
-#if defined(ISC_PLATFORM_HAVEIPV6)
if (fd == -1) {
switch (errno) {
case EPROTONOSUPPORT:
break;
}
}
-#endif /* if defined(ISC_PLATFORM_HAVEIPV6) */
if (fd == -1) {
return;
}