summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/wins/winsrepl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/wins/winsrepl.c b/source4/libcli/wins/winsrepl.c
index bf3593bdf8..7a3ce72b91 100644
--- a/source4/libcli/wins/winsrepl.c
+++ b/source4/libcli/wins/winsrepl.c
@@ -603,7 +603,7 @@ static NTSTATUS wrepl_extract_name(struct nbt_name *name,
if (len < 17) {
name->name = talloc_strndup(mem_ctx, namebuf, len);
- name->type = 0;
+ name->type = NBT_NAME_CLIENT;
name->scope = NULL;
return NT_STATUS_OK;
}