diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 18:27:24 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 18:27:24 +0100 |
commit | ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d (patch) | |
tree | a22d1a62a4ed5346312a03972f0e98f6996b5067 /libcli/nbt/tools | |
parent | e7810b1bc2c920d828d694817f88ea3ae9e74750 (diff) | |
download | samba-ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d.tar.gz samba-ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d.tar.bz2 samba-ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d.zip |
Remove another use of global_loadparm.
Diffstat (limited to 'libcli/nbt/tools')
-rw-r--r-- | libcli/nbt/tools/nmblookup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcli/nbt/tools/nmblookup.c b/libcli/nbt/tools/nmblookup.c index 0d98cb99de..94768f7cb6 100644 --- a/libcli/nbt/tools/nmblookup.c +++ b/libcli/nbt/tools/nmblookup.c @@ -212,7 +212,9 @@ static bool process_one(struct loadparm_context *lp_ctx, struct event_context *e node_name = talloc_strdup(tmp_ctx, name); } - nbtsock = nbt_name_socket_init(tmp_ctx, ev, lp_iconv_convenience(lp_ctx)); + nbtsock = nbt_name_socket_init(tmp_ctx, ev, lp_iconv_convenience(lp_ctx), + lp_parm_int(lp_ctx, NULL, "nbt", "wack_timeout", 30) + ); if (options.root_port) { all_zero_addr = socket_address_from_strings(tmp_ctx, nbtsock->sock->backend_name, |