summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
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/nbt_server/wins
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/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winswack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/winswack.c b/source4/nbt_server/wins/winswack.c
index 3ffa2df79c..929155c842 100644
--- a/source4/nbt_server/wins/winswack.c
+++ b/source4/nbt_server/wins/winswack.c
@@ -223,7 +223,7 @@ static struct composite_context *wins_release_demand_send(TALLOC_CTX *mem_ctx, s
* with 2 retries
*/
state->release.in.name = *state->io->in.name;
- state->release.in.dest_port = lp_nbt_port(global_loadparm);
+ state->release.in.dest_port = lp_nbt_port(state->io->in.nbtd_server->task->lp_ctx);
state->release.in.dest_addr = state->io->in.addresses[state->current_address];
state->release.in.address = state->release.in.dest_addr;
state->release.in.broadcast = false;