From: Arran Cudbard-Bell Date: Tue, 16 Mar 2021 16:18:48 +0000 (+0000) Subject: ...and another X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a96c163c67a443fb8171cb6aae7efe7da3a84114;p=thirdparty%2Ffreeradius-server.git ...and another --- diff --git a/src/lib/unlang/xlat_tokenize.c b/src/lib/unlang/xlat_tokenize.c index 0f07a532937..0ad36bcbfcb 100644 --- a/src/lib/unlang/xlat_tokenize.c +++ b/src/lib/unlang/xlat_tokenize.c @@ -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)) {