From 3b91640fbb16b5ab248d2fa4d2832f61dac29944 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 17 Jan 2009 10:06:08 +0100 Subject: NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time) This makes the code more clear. metze --- source4/torture/nbt/wins.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture/nbt/wins.c') diff --git a/source4/torture/nbt/wins.c b/source4/torture/nbt/wins.c index 0399daedf0..242c72e37d 100644 --- a/source4/torture/nbt/wins.c +++ b/source4/torture/nbt/wins.c @@ -181,6 +181,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; -- cgit