diff --git a/CHANGES b/CHANGES index 9ee18b01dc..2ceab6069e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ + + 754. [bug] Certain failure returns from sendto() could + cause the server to retry the transmission + indefinitely. [RT #902] + 753. [bug] dig, host, and nslookup would fail to contact a remote server if getaddrinfo() returned an IPv6 address on a system that doesn't support IPv6. diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 642cf95b6f..05e28b4ed3 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: socket.c,v 1.192 2001/02/12 21:43:15 bwelling Exp $ */ +/* $Id: socket.c,v 1.193 2001/02/24 23:51:09 gson Exp $ */ #include @@ -1028,9 +1028,9 @@ doio_send(isc_socket_t *sock, isc_socketevent_t *dev) { return (DOIO_HARD); \ } - SOFT_OR_HARD(EACCES, ISC_R_NOPERM); - SOFT_OR_HARD(EAFNOSUPPORT, ISC_R_ADDRNOTAVAIL); SOFT_OR_HARD(ECONNREFUSED, ISC_R_CONNREFUSED); + ALWAYS_HARD(EACCES, ISC_R_NOPERM); + ALWAYS_HARD(EAFNOSUPPORT, ISC_R_ADDRNOTAVAIL); ALWAYS_HARD(EADDRNOTAVAIL, ISC_R_ADDRNOTAVAIL); ALWAYS_HARD(EHOSTUNREACH, ISC_R_HOSTUNREACH); #ifdef EHOSTDOWN