* cost.
*/
xlat = xlat_func_find(name, -1);
- if (!xlat) return -1;
+ if (!xlat) return XLAT_ACTION_FAIL;
return xlat->func.async(ctx, out, request, xlat->mod_inst, xlat->thread_uctx, in);
}
} else {
fr_assert(0);
+ cf_log_err(cs, "Invalid redundant section verb");
+ return -1;
}
xr->cs = cs;
* that must be referenced in later calls, store a handle to it
* in *instance otherwise put a null pointer there.
*/
-static int mod_bootstrap(void *instance, UNUSED CONF_SECTION *conf)
+static int mod_bootstrap(void *instance, CONF_SECTION *conf)
{
xlat_t *xlat;
rlm_test_t *inst = instance;