summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-13 11:41:47 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:52 +0100
commitaa32619c5c910b9f5989f44de21621db5ef7c357 (patch)
tree670cd1bc010718f21ebbf346dcd6dafa9cd25d8a /source4/torture/nbt
parent45d349eb80ebd6b08a8bbcb66f657e89c3480a92 (diff)
downloadsamba-aa32619c5c910b9f5989f44de21621db5ef7c357.tar.gz
samba-aa32619c5c910b9f5989f44de21621db5ef7c357.tar.bz2
samba-aa32619c5c910b9f5989f44de21621db5ef7c357.zip
r26426: Remove uses of global_loadparm.
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r--source4/torture/nbt/winsbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/nbt/winsbench.c b/source4/torture/nbt/winsbench.c
index 5d7dbaf93e..1488c17757 100644
--- a/source4/torture/nbt/winsbench.c
+++ b/source4/torture/nbt/winsbench.c
@@ -139,7 +139,7 @@ static void generate_release(struct nbt_name_socket *nbtsock, struct wins_state
istate->state = state;
io.in.name = generate_name(tmp_ctx, idx);
- io.in.dest_port = lp_nbt_port(global_loadparm);
+ io.in.dest_port = state->wins_port;
io.in.dest_addr = state->wins_server;
io.in.address = state->my_ip;
io.in.nb_flags = NBT_NODE_H;