Commit a72ca860 authored by Michael Graff's avatar Michael Graff
Browse files

revert part of a previous commit. This makes net/host unreachable hard errors again.

parent 0191211c
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: socket.c,v 1.144 2000/06/26 18:20:25 explorer Exp $ */
/* $Id: socket.c,v 1.145 2000/06/26 20:16:01 explorer Exp $ */
#include <config.h>
......@@ -763,8 +763,8 @@ doio_recv(isc_socket_t *sock, isc_socketevent_t *dev) {
}
SOFT_OR_HARD(ECONNREFUSED, ISC_R_CONNREFUSED);
SOFT_OR_HARD(ENETUNREACH, ISC_R_NETUNREACH);
SOFT_OR_HARD(EHOSTUNREACH, ISC_R_HOSTUNREACH);
ALWAYS_HARD(ENETUNREACH, ISC_R_NETUNREACH);
ALWAYS_HARD(EHOSTUNREACH, ISC_R_HOSTUNREACH);
ALWAYS_HARD(ENOBUFS, ISC_R_NORESOURCES);
#undef SOFT_OR_HARD
......@@ -883,8 +883,8 @@ doio_send(isc_socket_t *sock, isc_socketevent_t *dev) {
}
SOFT_OR_HARD(ECONNREFUSED, ISC_R_CONNREFUSED);
SOFT_OR_HARD(ENETUNREACH, ISC_R_NETUNREACH);
SOFT_OR_HARD(EHOSTUNREACH, ISC_R_HOSTUNREACH);
ALWAYS_HARD(ENETUNREACH, ISC_R_NETUNREACH);
ALWAYS_HARD(EHOSTUNREACH, ISC_R_HOSTUNREACH);
ALWAYS_HARD(ENOBUFS, ISC_R_NORESOURCES);
ALWAYS_HARD(EADDRNOTAVAIL, ISC_R_ADDRNOTAVAIL);
......
Supports Markdown
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