summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-17 10:06:08 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-19 07:05:20 +0100
commit3b91640fbb16b5ab248d2fa4d2832f61dac29944 (patch)
treee8f242b2d473f1963d17df2f9d91043b3d67b4b1 /source4/torture/nbt
parentd6e801b7d9a666d40f109df20dff0faaa2b46e70 (diff)
downloadsamba-3b91640fbb16b5ab248d2fa4d2832f61dac29944.tar.gz
samba-3b91640fbb16b5ab248d2fa4d2832f61dac29944.tar.bz2
samba-3b91640fbb16b5ab248d2fa4d2832f61dac29944.zip
NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time)
This makes the code more clear. metze
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r--source4/torture/nbt/wins.c1
1 files changed, 1 insertions, 0 deletions
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;