mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
#ifdef EPROTO/#endif
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user