summaryrefslogtreecommitdiff
path: root/source4/libcli/nbt/namerefresh.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/nbt/namerefresh.c')
-rw-r--r--source4/libcli/nbt/namerefresh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/nbt/namerefresh.c b/source4/libcli/nbt/namerefresh.c
index d68cdb53658..3114cb2b100 100644
--- a/source4/libcli/nbt/namerefresh.c
+++ b/source4/libcli/nbt/namerefresh.c
@@ -69,7 +69,7 @@ struct nbt_name_request *nbt_name_refresh_send(struct nbt_name_socket *nbtsock,
dest = socket_address_from_strings(nbtsock,
nbtsock->sock->backend_name,
- io->in.dest_addr, lp_nbt_port());
+ io->in.dest_addr, lp_nbt_port(global_loadparm));
if (dest == NULL) goto failed;
req = nbt_name_request_send(nbtsock, dest, packet,
io->in.timeout, io->in.retries, False);