summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/wins.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-12 02:15:20 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:39 +0100
commit33582dffcc2d348dc042edfdcccee7500b21d928 (patch)
tree81a2322009015ae2eb85143fca99e79910502361 /source4/torture/nbt/wins.c
parent46b54defe9ae60646ba0a85dc67a1dcf65b0ed83 (diff)
downloadsamba-33582dffcc2d348dc042edfdcccee7500b21d928.tar.gz
samba-33582dffcc2d348dc042edfdcccee7500b21d928.tar.bz2
samba-33582dffcc2d348dc042edfdcccee7500b21d928.zip
r26408: Remove use of global_loadparm.
(This used to be commit f933b4362124bfdd25544b4e27992d9ca4405848)
Diffstat (limited to 'source4/torture/nbt/wins.c')
-rw-r--r--source4/torture/nbt/wins.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/nbt/wins.c b/source4/torture/nbt/wins.c
index a236099a13..3107b19075 100644
--- a/source4/torture/nbt/wins.c
+++ b/source4/torture/nbt/wins.c
@@ -80,6 +80,7 @@ static bool nbt_test_wins_name(struct torture_context *tctx, const char *address
torture_comment(tctx, "release the name\n");
release.in.name = *name;
+ release.in.dest_port = lp_nbt_port(tctx->lp_ctx);
release.in.dest_addr = address;
release.in.address = myaddress;
release.in.nb_flags = nb_flags;
@@ -165,6 +166,7 @@ static bool nbt_test_wins_name(struct torture_context *tctx, const char *address
torture_comment(tctx, "refresh the name\n");
refresh.in.name = *name;
+ refresh.in.wins_port = lp_nbt_port(tctx->lp_ctx);
refresh.in.wins_servers = str_list_make(tctx, address, NULL);
refresh.in.addresses = str_list_make(tctx, myaddress, NULL);
refresh.in.nb_flags = nb_flags;