summaryrefslogtreecommitdiff
path: root/source3/namedbname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/namedbname.c')
-rw-r--r--source3/namedbname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c
index c91541cc81..a45a749f14 100644
--- a/source3/namedbname.c
+++ b/source3/namedbname.c
@@ -486,6 +486,8 @@ struct name_record *add_netbios_entry(struct subnet_record *d,
return NULL;
}
+ bzero((char *)n->ip_flgs, sizeof(*n->ip_flgs) * n->num_ips);
+
make_nmb_name(&n->name,name,type,scope);
if ((n2 = find_name_search(&found_subnet, &n->name, search, new_only?ipzero:ip)))