]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
"-=" is an allowed operator in the "users" file
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Dec 2020 14:33:41 +0000 (09:33 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 15 Dec 2020 19:09:28 +0000 (14:09 -0500)
src/lib/server/map.c

index 5d247772f22fbc6b6e6b364a22ca378fc7ad58f7..77f13ffb496b68993c6630d81beb36667c1834f1 100644 (file)
@@ -198,6 +198,7 @@ fr_table_num_sorted_t const map_assignment_op_table[] = {
        { L("!="),      T_OP_NE                 },
        { L("!~"),      T_OP_REG_NE             },
        { L("+="),      T_OP_ADD                },
+       { L("-="),      T_OP_SUB                },
        { L(":="),      T_OP_SET                },
        { L("<"),       T_OP_LT                 },
        { L("<="),      T_OP_LE                 },