git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove another use of global_loadparm.
[ira/wip.git]
/
libcli
/
nbt
/
tools
/
nmblookup.c
diff --git
a/libcli/nbt/tools/nmblookup.c
b/libcli/nbt/tools/nmblookup.c
index 0d98cb99de4f6247112d40cd638124074e11bd65..94768f7cb621038a1b3049d88621f6fff849694c 100644
(file)
--- 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);
}
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,
if (options.root_port) {
all_zero_addr = socket_address_from_strings(tmp_ctx, nbtsock->sock->backend_name,