3095. [bug] Handle isolated reserved ports in the port range.

[RT #23957]
This commit is contained in:
Mark Andrews
2011-04-06 15:05:24 +00:00
parent 89010ef5e4
commit 902a80de5d
2 changed files with 6 additions and 2 deletions

View File

@@ -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]

View File

@@ -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;
}