]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set xlat instruction priorities correctly
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 24 Nov 2017 19:17:24 +0000 (19:17 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 24 Nov 2017 19:17:24 +0000 (19:17 +0000)
src/main/unlang_interpret.c

index 403ff3093360ed17d9f8e09bb4fa71dad470aaa8..8a301debae9a8d346d4cdf1a9f3a4826a737179e 100644 (file)
@@ -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