Hello all,

I seem to recall that the !* operator was known to not be working. Not that I know much about the code, but this patch seems to activate the operator.

Joe
--- freeradius-0.9.0/src/main/valuepair.c       Thu Apr 10 14:09:03 2003
+++ freeradius-0.9.0-jm/src/main/valuepair.c    Wed Sep  3 21:36:31 2003
@@ -276,8 +276,14 @@
                 *      Not found, it's not a match.
                 */
                if (auth_item == NULL) {
-                       return -1;
+                       if(check_item->operator == T_OP_CMP_FALSE)
+                               return(0);
+                       else
+                               return -1;
                }
+
+               if(check_item->operator == T_OP_CMP_FALSE)
+                       return(-1);
 
                /*
                 *      We've got to xlat the string before doing

Reply via email to