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

[RT #23957]
This commit is contained in:
Mark Andrews
2011-04-06 10:27:16 +00:00
parent e2c9eed7ff
commit 9cf04a12ec
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
3095. [bug] Handle isolated reserved ports in the port range.
[RT #23957]
3094. [doc] Expand dns64 documentation.
3093. [bug] Fix gssapi/kerberos dependencies [RT #23836]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dispatch.c,v 1.171 2011/03/11 06:11:23 marka Exp $ */
/* $Id: dispatch.c,v 1.172 2011/04/06 10:27:16 marka Exp $ */
/*! \file */
@@ -913,6 +913,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;
}