2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

3638. [cleanup] Add the ability to handle ENOPROTOOPT in case it is

encountered. [RT #34668]
This commit is contained in:
Curtis Blackburn
2013-08-28 15:56:49 -05:00
parent 4b2c089cd8
commit c4348cb50f
2 changed files with 7 additions and 0 deletions

View File

@@ -1845,6 +1845,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.