From: Arran Cudbard-Bell Date: Thu, 21 Mar 2024 20:23:36 +0000 (-0400) Subject: Fix ordering? X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8864f2fa5d74dc658978361bfc65d36f55b11df4;p=thirdparty%2Ffreeradius-server.git Fix ordering? --- diff --git a/src/lib/util/pair_legacy.c b/src/lib/util/pair_legacy.c index d6669639ee7..d17a69e00c3 100644 --- a/src/lib/util/pair_legacy.c +++ b/src/lib/util/pair_legacy.c @@ -29,7 +29,6 @@ RCSID("$Id$") #include #include #include -#include #include #include @@ -65,19 +64,19 @@ static fr_table_num_sorted_t const pair_assignment_op_table[] = { static ssize_t pair_assignment_op_table_len = NUM_ELEMENTS(pair_assignment_op_table); static fr_table_num_sorted_t const pair_comparison_op_table[] = { - { L(":="), T_OP_SET }, { L("!*"), T_OP_CMP_FALSE }, { L("!="), T_OP_NE }, { L("!~"), T_OP_REG_NE }, { L("+="), T_OP_ADD_EQ }, + { L(":="), T_OP_SET }, { L("<"), T_OP_LT }, { L("<="), T_OP_LE }, { L("="), T_OP_EQ }, { L("=*"), T_OP_CMP_TRUE }, { L("=="), T_OP_CMP_EQ }, - { L("=~"), T_OP_REG_EQ }, + { L("=~"), T_OP_REG_EQ }, { L(">"), T_OP_GT }, - { L(">="), T_OP_GE }, + { L(">="), T_OP_GE } }; static size_t pair_comparison_op_table_len = NUM_ELEMENTS(pair_comparison_op_table);