]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3638. [cleanup] Add the ability to handle ENOPROTOOPT in case it is
authorCurtis Blackburn <ckb@isc.org>
Wed, 28 Aug 2013 20:59:18 +0000 (15:59 -0500)
committerCurtis Blackburn <ckb@isc.org>
Wed, 28 Aug 2013 20:59:18 +0000 (15:59 -0500)
                        encountered. [RT #34668]

CHANGES
lib/isc/unix/socket.c

diff --git a/CHANGES b/CHANGES
index 715b2c4311634567e33e303525de6e91b0b1c91d..03236d52824fe87377669b2b9ec9b1803164e0b2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
-       --- 9.9.4rc2 released ---
+3638.  [cleanup]       Add the ability to handle ENOPROTOOPT in case it is 
+                       encountered. [RT #34668]
 
 3637.  [bug]           'allow-query-on' was checking the source address
                        rather than the destination address. [RT #34590]
index 7bd12aaa31eda5edc04ce2815fe8f872d850688b..dc0b14100801abc26143e91ca9cfeb940e570f7e 100644 (file)
@@ -1700,6 +1700,10 @@ doio_recv(isc__socket_t *sock, isc_socketevent_t *dev) {
                /* HPUX 11.11 can return EADDRNOTAVAIL. */
                SOFT_OR_HARD(EADDRNOTAVAIL, ISC_R_ADDRNOTAVAIL);
                ALWAYS_HARD(ENOBUFS, ISC_R_NORESOURCES);
+               /* Should never get this one but it was seen. */
+#ifdef ENOPROTOOPT
+               SOFT_OR_HARD(ENOPROTOOPT, ISC_R_HOSTUNREACH);
+#endif
                /*
                 * HPUX returns EPROTO and EINVAL on receiving some ICMP/ICMPv6
                 * errors.