mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 15:17:01 -04:00
#ifdef EPROTO/#endif
This commit is contained in:
parent
6e0fe0bcdd
commit
8f13e3b7f9
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue