summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/wins/winsrepl.c2
-rw-r--r--source4/utils/nmblookup.c2
2 files changed, 2 insertions, 2 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;
}
diff --git a/source4/utils/nmblookup.c b/source4/utils/nmblookup.c
index 857d03fe19..bf034b26a3 100644
--- a/source4/utils/nmblookup.c
+++ b/source4/utils/nmblookup.c
@@ -108,7 +108,7 @@ static void do_node_status(struct nbt_name_socket *nbtsock,
NTSTATUS status;
io.in.name.name = "*";
- io.in.name.type = 0;
+ io.in.name.type = NBT_NAME_CLIENT;
io.in.name.scope = NULL;
io.in.dest_addr = addr;
io.in.timeout = 1;