]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Check fro =~ and !~
authorAlan T. DeKok <aland@freeradius.org>
Sun, 17 Feb 2013 18:27:16 +0000 (13:27 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 17 Feb 2013 18:27:16 +0000 (13:27 -0500)
src/modules/rlm_expr/paircmp.c

index cec1e54659129ae1b0290aef509e37a3002d49cb..4894f02c00d6640a9d6ddceb0c148dcf6592ef5a 100644 (file)
@@ -220,7 +220,7 @@ static int genericcmp(void *instance UNUSED,
                      VALUE_PAIR **reply_pairs UNUSED)
 {
        if ((check->operator != T_OP_REG_EQ) &&
-           (check->operator != T_OP_REG_EQ)) {
+           (check->operator != T_OP_REG_NE)) {
                int rcode;
                char name[1024];
                char value[1024];