Commit 8626c376 authored by Mark Andrews's avatar Mark Andrews
Browse files

2047. [bug] Failed to initialise the interface flags to zero.

                        [RT #16245]
parent 222dcab0
2047. [bug] Failed to initialise the interface flags to zero.
[RT #16245]
2046. [bug] rbtdb.c:rdataset_setadditional() could cause duplicate
cleanup [RT #16247].
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.83 2005/11/30 03:33:48 marka Exp $ */
/* $Id: interfacemgr.c,v 1.84 2006/07/19 00:08:20 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment