From e6b53ce177d7fea7440656a7bba3dd96fb82e9f3 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 22 May 2005 09:43:20 +0000 Subject: [PATCH] r6930: Use NBT_NAME_CLIENT instead of the number 0. --- source/libcli/wins/winsrepl.c | 2 +- source/utils/nmblookup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libcli/wins/winsrepl.c b/source/libcli/wins/winsrepl.c index bf3593bdf88..7a3ce72b91c 100644 --- a/source/libcli/wins/winsrepl.c +++ b/source/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/source/utils/nmblookup.c b/source/utils/nmblookup.c index 857d03fe19e..bf034b26a39 100644 --- a/source/utils/nmblookup.c +++ b/source/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; -- 2.34.1