summaryrefslogtreecommitdiff
path: root/source4/libcli/dgram/ntlogon.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/dgram/ntlogon.c')
-rw-r--r--source4/libcli/dgram/ntlogon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/libcli/dgram/ntlogon.c b/source4/libcli/dgram/ntlogon.c
index 38651a4085..e4a24b0591 100644
--- a/source4/libcli/dgram/ntlogon.c
+++ b/source4/libcli/dgram/ntlogon.c
@@ -79,9 +79,7 @@ NTSTATUS dgram_mailslot_ntlogon_reply(struct nbt_dgram_socket *dgmsock,
return status;
}
- myname.name = lp_netbios_name();
- myname.type = NBT_NAME_CLIENT;
- myname.scope = NULL;
+ make_nbt_name_client(&myname, lp_netbios_name());
status = dgram_mailslot_send(dgmsock, DGRAM_DIRECT_UNIQUE,
mailslot_name,