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

			[RT #18301]
parent 2f761080
2400 [port] hpux: cover additional recvmsg() error codes.
[RT #18301]
2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment