summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/nbt_server/wins/winsserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c
index ddb4c6cc6c..37b59cdc7f 100644
--- a/source4/nbt_server/wins/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -55,6 +55,7 @@ static uint8_t wins_register_new(struct nbt_name_socket *nbtsock,
rec.name = name;
rec.nb_flags = nb_flags;
rec.state = WINS_REC_ACTIVE;
+ rec.wins_owner = WINSDB_OWNER_LOCAL;
rec.expire_time = time(NULL) + ttl;
rec.registered_by = src->addr;
rec.addresses = winsdb_addr_list_make(packet);