From: Mark Andrews Date: Fri, 18 Jul 2008 03:45:55 +0000 (+0000) Subject: #ifdef EPROTO/#endif X-Git-Tag: v9.3.6b1~36^2~86 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8afedf9ec0aaa5adb0afe8bba38e13d994c3ab97;p=thirdparty%2Fbind9.git #ifdef EPROTO/#endif --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index b517024aba9..80a58b5d053 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: socket.c,v 1.288 2008/07/18 02:43:31 jinmei Exp $ */ +/* $Id: socket.c,v 1.289 2008/07/18 03:45:55 marka Exp $ */ /*! \file */ @@ -1301,7 +1301,9 @@ doio_recv(isc_socket_t *sock, isc_socketevent_t *dev) { * HPUX returns EPROTO and EINVAL on receiving some ICMP/ICMPv6 * errors. */ +#ifdef EPROTO SOFT_OR_HARD(EPROTO, ISC_R_HOSTUNREACH); +#endif SOFT_OR_HARD(EINVAL, ISC_R_HOSTUNREACH); #undef SOFT_OR_HARD