From: Ondřej Surý Date: Thu, 8 Oct 2020 06:26:28 +0000 (+0200) Subject: Clean the last remnant of ISC_PLATFORM_HAVEIPV6 macro X-Git-Tag: v9.17.6~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96ac91a18a6e506824c63d10a05e532d584ff5c1;p=thirdparty%2Fbind9.git Clean the last remnant of ISC_PLATFORM_HAVEIPV6 macro In set_sndbuf() we were using ISC_PLATFORM_HAVEIPV6 macro that doesn't exist anymore, because we assume that IPv6 support is always available. --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index e3f11082423..b599932d4f0 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -2018,7 +2018,6 @@ set_sndbuf(void) { socklen_t len; fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); -#if defined(ISC_PLATFORM_HAVEIPV6) if (fd == -1) { switch (errno) { case EPROTONOSUPPORT: @@ -2033,7 +2032,6 @@ set_sndbuf(void) { break; } } -#endif /* if defined(ISC_PLATFORM_HAVEIPV6) */ if (fd == -1) { return; }