]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
...and another
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 16 Mar 2021 16:18:48 +0000 (16:18 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 16 Mar 2021 16:18:48 +0000 (16:18 +0000)
src/lib/unlang/xlat_tokenize.c

index 0f07a5329371ae121cfeabcd1287ac5a37edfc0d..0ad36bcbfcb09589f28df688e9d52e21b4c232e6 100644 (file)
@@ -327,7 +327,7 @@ static inline int xlat_tokenize_regex(TALLOC_CTX *ctx, xlat_exp_t **head, xlat_f
 
 static inline int xlat_validate_function_mono(xlat_exp_t *node)
 {
-       fr_assert(node->type == XLAT_FUNC_NORMAL);
+       fr_assert(node->type == XLAT_FUNC);
 
        if (node->call.func->args && node->call.func->args->required &&
            (node->child->type == XLAT_LITERAL) && (talloc_array_length(node->child->fmt) == 1)) {