]> 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:12:14 +0000 (00:12 +0000)
committerMark Andrews <marka@isc.org>
Wed, 19 Jul 2006 00:12:14 +0000 (00:12 +0000)
                        [RT #16245]

CHANGES
bin/named/interfacemgr.c

diff --git a/CHANGES b/CHANGES
index da997f3500e17ec9959e23f99aa1eb03da2d24f2..a00cb7709103d7fec4aef6013b2987d5d0bb09cf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2047.  [bug]           Failed to initialise the interface flags to zero.
+                       [RT #16245]
+
 2046.  [bug]           rbtdb.c:rdataset_setadditional() could cause duplicate
                        cleanup [RT #16247].
 
index cd71e367feb8639d7104f920d83ef0095f945ba5..c1bce3265d77a7e4a14c62e8239e664dbd710dee 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: interfacemgr.c,v 1.76.18.6 2005/11/30 03:44:38 marka Exp $ */
+/* $Id: interfacemgr.c,v 1.76.18.7 2006/07/19 00:12:14 marka Exp $ */
 
 /*! \file */
 
@@ -191,6 +191,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;