summaryrefslogtreecommitdiff
path: root/src/responder/sudo
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/sudo')
-rw-r--r--src/responder/sudo/sudosrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/sudo/sudosrv_cmd.c b/src/responder/sudo/sudosrv_cmd.c
index e3dd3842..0f31df15 100644
--- a/src/responder/sudo/sudosrv_cmd.c
+++ b/src/responder/sudo/sudosrv_cmd.c
@@ -226,7 +226,7 @@ static int sudosrv_cmd_get_sudorules(struct cli_ctx *cli_ctx)
cmd_ctx->username, domname ? domname : "<ALL>"));
if (domname) {
- dctx->domain = responder_get_domain(cli_ctx->rctx->domains, domname);
+ dctx->domain = responder_get_domain(dctx, cli_ctx->rctx, domname);
if (!dctx->domain) {
ret = ENOENT;
goto done;