]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print the correct field
authorAlan T. DeKok <aland@freeradius.org>
Wed, 8 Dec 2021 16:30:04 +0000 (11:30 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 8 Dec 2021 16:30:04 +0000 (11:30 -0500)
src/lib/unlang/compile.c

index 83a87a66c91a4d45005c7308b402c4630b960888..71f65dee6a892562d5e80d7ae1235d2b07828ae3 100644 (file)
@@ -1637,7 +1637,7 @@ static unlang_t *compile_edit_section(unlang_t *parent, unlang_compile_t *unlang
        }
        op = cf_section_name2_quote(cs);
        if ((op == T_INVALID) || !fr_assignment_op[op]) {
-               cf_log_err(cs, "Invalid operator '%s' for editing list %s.", name, cf_section_name1(cs));
+               cf_log_err(cs, "Invalid operator '%s' for editing list %s.", fr_tokens[op], cf_section_name1(cs));
                return NULL;
        }