summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/register.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 18:41:45 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:16 +0100
commit274d07ddff5c5920b9a2f3674e9104d8aab9e90c (patch)
treeb71d88bb17279fa5abb1dd035babfa05510c92ad /source4/torture/nbt/register.c
parent237059838ccba8daae761f073f354eda536cbc84 (diff)
downloadsamba-274d07ddff5c5920b9a2f3674e9104d8aab9e90c.tar.gz
samba-274d07ddff5c5920b9a2f3674e9104d8aab9e90c.tar.bz2
samba-274d07ddff5c5920b9a2f3674e9104d8aab9e90c.zip
r26381: Move global_loadparm higher up the call stack.
(This used to be commit 992296767492ecd7d21b06f4a08a5b8d73d00740)
Diffstat (limited to 'source4/torture/nbt/register.c')
-rw-r--r--source4/torture/nbt/register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/nbt/register.c b/source4/torture/nbt/register.c
index c7f992cbd6..2c37d9de50 100644
--- a/source4/torture/nbt/register.c
+++ b/source4/torture/nbt/register.c
@@ -67,6 +67,7 @@ static bool nbt_register_own(struct torture_context *tctx)
io.in.name = name;
io.in.dest_addr = address;
+ io.in.dest_port = lp_nbt_port(tctx->lp_ctx);
io.in.address = myaddress;
io.in.nb_flags = NBT_NODE_B | NBT_NM_ACTIVE;
io.in.register_demand = false;