]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2047. [bug] Failed to initialise the interface flags to zero.
authorMark Andrews <marka@isc.org>
Wed, 19 Jul 2006 00:16:28 +0000 (00:16 +0000)
committerMark Andrews <marka@isc.org>
Wed, 19 Jul 2006 00:16:28 +0000 (00:16 +0000)
                        [RT #16245]

CHANGES
bin/named/interfacemgr.c

diff --git a/CHANGES b/CHANGES
index 680b79865cf080c5e4a4200c99ba54767afc6474..14be7180686fec6a901e54d0712895ccd65f3ad6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2047.  [bug]           Failed to initialise the interface flags to zero.
+                       [RT #16245]
+
 2043.  [port]          nsupdate/nslookup: Force the flushing of the prompt
                        for interactive sessions. [RT#16148]
 
index c5a10a9b664c07f9c55c8f2b5e4e1687bd242b90..a3410567e631164a242380e0a6644bce9dd42ea4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: interfacemgr.c,v 1.59.2.5.8.17 2006/01/04 23:50:19 marka Exp $ */
+/* $Id: interfacemgr.c,v 1.59.2.5.8.18 2006/07/19 00:16:28 marka Exp $ */
 
 #include <config.h>
 
@@ -182,6 +182,7 @@ ns_interface_create(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
        ifp->mgr = NULL;
        ifp->generation = mgr->generation;
        ifp->addr = *addr;
+       ifp->flags = 0;
        strncpy(ifp->name, name, sizeof(ifp->name));
        ifp->name[sizeof(ifp->name)-1] = '\0';
        ifp->clientmgr = NULL;