From c00a1eb423623442aff428336bb55590f79013bb Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 15 Mar 2002 05:01:33 +0000 Subject: [PATCH] 1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL. --- CHANGES | 2 ++ lib/isc/unix/errno2result.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 0575af547c..7db048a02e 100644 --- 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. diff --git a/lib/isc/unix/errno2result.c b/lib/isc/unix/errno2result.c index a454038517..c4b82e2fcc 100644 --- a/lib/isc/unix/errno2result.c +++ b/lib/isc/unix/errno2result.c @@ -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 @@ -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__,