From: Alan T. DeKok Date: Sun, 17 Feb 2013 18:27:16 +0000 (-0500) Subject: Check fro =~ and !~ X-Git-Tag: release_2_2_1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31018af86c6b025eabe5a1f12d05e093697dd657;p=thirdparty%2Ffreeradius-server.git Check fro =~ and !~ --- diff --git a/src/modules/rlm_expr/paircmp.c b/src/modules/rlm_expr/paircmp.c index cec1e546591..4894f02c00d 100644 --- a/src/modules/rlm_expr/paircmp.c +++ b/src/modules/rlm_expr/paircmp.c @@ -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];