summaryrefslogtreecommitdiffstats
path: root/source4/libcli/finddcs.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 18:41:29 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:12 +0100
commit51ef1b606fe1853b7ca2decf2a74eecf18c5a747 (patch)
treeb41373777ada6d38c814cc85a539fb07bab29943 /source4/libcli/finddcs.c
parent5f4842cf65ce64bfdf577cd549565da20ca818cf (diff)
downloadsamba-51ef1b606fe1853b7ca2decf2a74eecf18c5a747.tar.gz
samba-51ef1b606fe1853b7ca2decf2a74eecf18c5a747.tar.xz
samba-51ef1b606fe1853b7ca2decf2a74eecf18c5a747.zip
r26377: Specify port explicitly.
(This used to be commit 8c767ca13906966cd6cccbeaef3c50033d46f206)
Diffstat (limited to 'source4/libcli/finddcs.c')
-rw-r--r--source4/libcli/finddcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/finddcs.c b/source4/libcli/finddcs.c
index 415c84a6bd..624f6cd630 100644
--- a/source4/libcli/finddcs.c
+++ b/source4/libcli/finddcs.c
@@ -189,6 +189,7 @@ static void fallback_node_status(struct finddcs_state *state)
state->node_status.in.name.type = NBT_NAME_CLIENT;
state->node_status.in.name.scope = NULL;
state->node_status.in.dest_addr = state->dcs[0].address;
+ state->node_status.in.dest_port = lp_nbt_port(global_loadparm);
state->node_status.in.timeout = 1;
state->node_status.in.retries = 2;