summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/libnet_lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/libnet/libnet_lookup.c b/source4/torture/libnet/libnet_lookup.c
index c95ee58e49..6011d5492c 100644
--- a/source4/torture/libnet/libnet_lookup.c
+++ b/source4/torture/libnet/libnet_lookup.c
@@ -42,6 +42,7 @@ BOOL torture_lookup(void)
lookup.in.hostname = lp_parm_string(-1, "torture", "host");
lookup.in.type = NBT_NAME_CLIENT;
+ lookup.in.methods = NULL;
lookup.out.address = &address;
status = libnet_Lookup(ctx, mem_ctx, &lookup);
@@ -77,6 +78,7 @@ BOOL torture_lookup_host(void)
address = talloc_array(mem_ctx, const char, 16);
lookup.in.hostname = lp_parm_string(-1, "torture", "host");
+ lookup.in.methods = NULL;
lookup.out.address = &address;
status = libnet_LookupHost(ctx, mem_ctx, &lookup);