2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

2400 [port] hpux: cover additional recvmsg() error codes.

[RT #18301]
This commit is contained in:
Tatuya JINMEI 神明達哉
2008-07-18 02:43:31 +00:00
parent 2f76108082
commit 3d8b9b9956
2 changed files with 10 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.287 2008/07/11 23:05:46 jinmei Exp $ */
/* $Id: socket.c,v 1.288 2008/07/18 02:43:31 jinmei Exp $ */
/*! \file */
@@ -1297,6 +1297,12 @@ 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);
/*
* HPUX returns EPROTO and EINVAL on receiving some ICMP/ICMPv6
* errors.
*/
SOFT_OR_HARD(EPROTO, ISC_R_HOSTUNREACH);
SOFT_OR_HARD(EINVAL, ISC_R_HOSTUNREACH);
#undef SOFT_OR_HARD
#undef ALWAYS_HARD