diff options
Diffstat (limited to 'source4/torture/nbt/winsbench.c')
-rw-r--r-- | source4/torture/nbt/winsbench.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/nbt/winsbench.c b/source4/torture/nbt/winsbench.c index 54f730ce84..76763d3bf0 100644 --- a/source4/torture/nbt/winsbench.c +++ b/source4/torture/nbt/winsbench.c @@ -276,9 +276,7 @@ BOOL torture_bench_wins(void) NTSTATUS status; BOOL ret = True; - name.name = lp_parm_string(-1, "torture", "host"); - name.type = NBT_NAME_SERVER; - name.scope = NULL; + make_nbt_name_server(&name, lp_parm_string(-1, "torture", "host")); /* do an initial name resolution to find its IP */ status = resolve_name(&name, mem_ctx, &address); |