From: Mark Andrews Date: Wed, 6 Apr 2011 10:34:27 +0000 (+0000) Subject: 3095. [bug] Handle isolated reserved ports in the port range. X-Git-Tag: v9.6-ESV-R5b1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126aafee477750687fbe46c6720d7e8ab54aa687;p=thirdparty%2Fbind9.git 3095. [bug] Handle isolated reserved ports in the port range. [RT #23957] --- diff --git a/CHANGES b/CHANGES index a39afa9e0a7..cced3920504 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3095. [bug] Handle isolated reserved ports in the port range. + [RT #23957] + 3088. [bug] Remove bin/tests/system/logfileconfig/ns1/named.conf and add setup.sh in order to resolve changing named.conf issue. [RT #23687] diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index 883e5d076f5..b12c1628798 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dispatch.c,v 1.155.12.13 2011/03/12 04:57:26 tbox Exp $ */ +/* $Id: dispatch.c,v 1.155.12.14 2011/04/06 10:34:27 marka Exp $ */ /*! \file */ @@ -881,6 +881,12 @@ get_dispsocket(dns_dispatch_t *disp, isc_sockaddr_t *dest, } portentry->refs++; break; + } else if (result == ISC_R_NOPERM) { + char buf[ISC_SOCKADDR_FORMATSIZE]; + isc_sockaddr_format(&localaddr, buf, sizeof(buf)); + dispatch_log(disp, ISC_LOG_WARNING, + "open_socket(%s) -> %s: continuing", + buf, isc_result_totext(result)); } else if (result != ISC_R_ADDRINUSE) break; }