projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812f51e
)
Allow !=, too
author
aland
<aland>
Fri, 11 Feb 2005 01:02:20 +0000
(
01:02
+0000)
committer
aland
<aland>
Fri, 11 Feb 2005 01:02:20 +0000
(
01:02
+0000)
src/modules/rlm_policy/parse.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_policy/parse.c
b/src/modules/rlm_policy/parse.c
index
54366e3
..
1c97a5b
100644
(file)
--- a/
src/modules/rlm_policy/parse.c
+++ b/
src/modules/rlm_policy/parse.c
@@
-245,6
+245,11
@@
static const char *policy_lex_string(const char *input,
case '!':
switch (input[1]) {
+ case '=':
+ input++;
+ *token = POLICY_LEX_CMP_NOT_EQUALS;
+ break;
+
case '~':
input++;
*token = POLICY_LEX_RX_NOT_EQUALS;