From b84be078c197f9752b53d68c882f4d1b44979b8e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 6 Dec 2007 16:26:56 +0100 Subject: r26309: Move specification of port higher up the all stack. (This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033) --- source4/torture/nbt/wins.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/nbt/wins.c') diff --git a/source4/torture/nbt/wins.c b/source4/torture/nbt/wins.c index e25c3e78f0..fe87d7f971 100644 --- a/source4/torture/nbt/wins.c +++ b/source4/torture/nbt/wins.c @@ -27,6 +27,7 @@ #include "librpc/gen_ndr/ndr_nbt.h" #include "torture/torture.h" #include "torture/nbt/proto.h" +#include "param/param.h" #define CHECK_VALUE(tctx, v, correct) \ torture_assert_int_equal(tctx, v, correct, "Incorrect value") @@ -113,6 +114,7 @@ static bool nbt_test_wins_name(struct torture_context *tctx, const char *address torture_comment(tctx, "query the name to make sure its there\n"); query.in.name = *name; query.in.dest_addr = address; + query.in.dest_port = lp_nbt_port(tctx->lp_ctx); query.in.broadcast = false; query.in.wins_lookup = true; query.in.timeout = 3; -- cgit