r25430: Add the loadparm context to all parametric options.
[ab/samba.git/.git] / source4 / torture / rpc / countcalls.c
index 0d3df0ffb344327e09c5f252662f5ed93fd733c2..eba20e6361ea7a8c14fbeb247248e7f8507bf4da 100644 (file)
@@ -111,7 +111,7 @@ BOOL torture_rpc_countcalls(struct torture_context *torture)
        if (!mem_ctx) {
                return False;
        }
-       iface_name = lp_parm_string(NULL, "countcalls", "interface");
+       iface_name = lp_parm_string(global_loadparm, NULL, "countcalls", "interface");
        if (iface_name != NULL) {
                iface = ndr_table_by_name(iface_name);
                if (!iface) {