]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL.
authorMark Andrews <marka@isc.org>
Fri, 15 Mar 2002 05:01:33 +0000 (05:01 +0000)
committerMark Andrews <marka@isc.org>
Fri, 15 Mar 2002 05:01:33 +0000 (05:01 +0000)
CHANGES
lib/isc/unix/errno2result.c

diff --git a/CHANGES b/CHANGES
index 0575af547c42cd76ddda2ae94cd878b3d797190e..7db048a02e43358f8c740383f98dce7d91c321f0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1232.  [bug]           unix/errno2result() didn't handle EADDRNOTAVAIL.
+
 1231.  [port]          HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
 
 1230.  [bug]           isccc_cc_isreply() and isccc_cc_isack() were broken.
index a454038517a2c7a7f5e2e27301256e00d38cb90e..c4b82e2fcc0c7012ffa9f5b6aefdfe15c78ad8e9 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: errno2result.c,v 1.10 2002/02/20 03:35:40 marka Exp $ */
+/* $Id: errno2result.c,v 1.11 2002/03/15 05:01:33 marka Exp $ */
 
 #include <config.h>
 
@@ -100,6 +100,8 @@ isc__errno2result(int posixerrno) {
        case EADDRINUSE:
                return (ISC_R_ADDRINUSE);
 #endif
+       case EADDRNOTAVAIL:
+               return (ISC_R_ADDRNOTAVAIL);
        default:
                isc__strerror(posixerrno, strbuf, sizeof(strbuf));
                UNEXPECTED_ERROR(__FILE__, __LINE__,