]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add ECONNREFUSED
authorMark Andrews <marka@isc.org>
Fri, 3 May 2002 05:43:40 +0000 (05:43 +0000)
committerMark Andrews <marka@isc.org>
Fri, 3 May 2002 05:43:40 +0000 (05:43 +0000)
lib/isc/unix/errno2result.c

index c4b82e2fcc0c7012ffa9f5b6aefdfe15c78ad8e9..fba350a1ef8016a4a14d525eb3384e734b19dc89 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: errno2result.c,v 1.11 2002/03/15 05:01:33 marka Exp $ */
+/* $Id: errno2result.c,v 1.12 2002/05/03 05:43:40 marka Exp $ */
 
 #include <config.h>
 
@@ -102,6 +102,8 @@ isc__errno2result(int posixerrno) {
 #endif
        case EADDRNOTAVAIL:
                return (ISC_R_ADDRNOTAVAIL);
+       case ECONNREFUSED:
+               return (ISC_R_CONNREFUSED);
        default:
                isc__strerror(posixerrno, strbuf, sizeof(strbuf));
                UNEXPECTED_ERROR(__FILE__, __LINE__,