]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3095. [bug] Handle isolated reserved ports in the port range.
authorMark Andrews <marka@isc.org>
Wed, 6 Apr 2011 10:34:27 +0000 (10:34 +0000)
committerMark Andrews <marka@isc.org>
Wed, 6 Apr 2011 10:34:27 +0000 (10:34 +0000)
                        [RT #23957]

CHANGES
lib/dns/dispatch.c

diff --git a/CHANGES b/CHANGES
index a39afa9e0a71c3432f9635148f4f7ad317716a7c..cced3920504d8b221553338d2060c121023bacdc 100644 (file)
--- 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]
index 883e5d076f5ccf02dde31341d8df6ab4a799bc3d..b12c1628798af1e59ee5e0c230b2d953a364e124 100644 (file)
@@ -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;
        }