From: Arran Cudbard-Bell Date: Fri, 24 Nov 2017 19:17:24 +0000 (+0000) Subject: Set xlat instruction priorities correctly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a340bee6916bf8a7dd73e28f18a60b537db87959;p=thirdparty%2Ffreeradius-server.git Set xlat instruction priorities correctly --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index 403ff309336..8a301debae9 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -2642,6 +2642,17 @@ static unlang_t xlat_instruction = { .type = UNLANG_TYPE_XLAT, .name = "xlat", .debug_name = "xlat", + .actions = { + [RLM_MODULE_REJECT] = 0, + [RLM_MODULE_FAIL] = MOD_ACTION_RETURN, /* Exit out of nested levels */ + [RLM_MODULE_OK] = 0, + [RLM_MODULE_HANDLED] = 0, + [RLM_MODULE_INVALID] = 0, + [RLM_MODULE_USERLOCK] = 0, + [RLM_MODULE_NOTFOUND] = 0, + [RLM_MODULE_NOOP] = 0, + [RLM_MODULE_UPDATED] = 0 + }, }; /** Push a pre-compiled xlat onto the stack for evaluation