From: Mark Andrews Date: Wed, 6 Apr 2011 15:05:24 +0000 (+0000) Subject: 3095. [bug] Handle isolated reserved ports in the port range. X-Git-Tag: v9.4-ESV-R5b1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902a80de5df5fc517ba065cb3de0f5314eff7a29;p=thirdparty%2Fbind9.git 3095. [bug] Handle isolated reserved ports in the port range. [RT #23957] --- diff --git a/CHANGES b/CHANGES index 66cfd28c912..c627ea70861 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 b07b1dd90e9..3881e81a508 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dispatch.c,v 1.116.18.42 2009/12/02 23:36:35 marka Exp $ */ +/* $Id: dispatch.c,v 1.116.18.43 2011/04/06 15:05:24 marka Exp $ */ /*! \file */ @@ -769,7 +769,8 @@ get_dispsocket(dns_dispatch_t *disp, isc_sockaddr_t *dest, continue; result = open_socket(sockmgr, &localaddr, 0, &sock); - if (result == ISC_R_SUCCESS || result != ISC_R_ADDRINUSE) + if (result == ISC_R_SUCCESS || + (result != ISC_R_ADDRINUSE && result != ISC_R_NOPERM)) break; }