summaryrefslogtreecommitdiff
path: root/source4/libcli/wins
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-22 09:43:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:57 -0500
commite4d5dde7c8012f8585019d417a854399943fe0d8 (patch)
tree98d3da35ef80f3c507d9d738878849d988ce4ef9 /source4/libcli/wins
parent3c6a91069a92eb0180de3d32bd7c94f99314d32c (diff)
downloadsamba-e4d5dde7c8012f8585019d417a854399943fe0d8.tar.gz
samba-e4d5dde7c8012f8585019d417a854399943fe0d8.tar.bz2
samba-e4d5dde7c8012f8585019d417a854399943fe0d8.zip
r6930: Use NBT_NAME_CLIENT instead of the number 0.
(This used to be commit e6b53ce177d7fea7440656a7bba3dd96fb82e9f3)
Diffstat (limited to 'source4/libcli/wins')
-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;
}