#ifdef EPROTO/#endif

This commit is contained in:
Mark Andrews 2008-07-18 03:46:44 +00:00
parent 6e0fe0bcdd
commit 8f13e3b7f9

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.237.18.39 2008/07/18 02:45:49 jinmei Exp $ */
/* $Id: socket.c,v 1.237.18.40 2008/07/18 03:46:44 marka Exp $ */
/*! \file */
@ -1294,7 +1294,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