diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2017-08-11 12:51:43 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2017-08-11 12:51:43 +0000 |
commit | 2d70ce1a227e03b941e1f24d64265d32c9203724 (patch) | |
tree | ad6aa7dd243bd9f737adb5f54ce57195a22217d6 /usr.sbin/nsd/namedb.c | |
parent | 879b26c96d81d0e2597ee5695c81ec07e329768d (diff) |
update to 4.1.17
OK sthen
Diffstat (limited to 'usr.sbin/nsd/namedb.c')
-rw-r--r-- | usr.sbin/nsd/namedb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/nsd/namedb.c b/usr.sbin/nsd/namedb.c index f59f0b76fa3..bcc41aad926 100644 --- a/usr.sbin/nsd/namedb.c +++ b/usr.sbin/nsd/namedb.c @@ -305,6 +305,7 @@ void zone_add_domain_in_hash_tree(region_type* region, rbtree_type** tree, { if(!*tree) *tree = rbtree_create(region, cmpf); + if(node->key) return; memset(node, 0, sizeof(rbnode_type)); node->key = domain; rbtree_insert(*tree, node); |