allow += in check item lists, too
authoraland <aland>
Mon, 21 Aug 2000 18:58:48 +0000 (18:58 +0000)
committeraland <aland>
Mon, 21 Aug 2000 18:58:48 +0000 (18:58 +0000)
src/main/valuepair.c

index e5851ac..3690aba 100644 (file)
@@ -189,7 +189,8 @@ int paircmp(VALUE_PAIR *request, VALUE_PAIR *check, VALUE_PAIR **reply)
                 *      then don't bother comparing it to any attributes
                 *      sent to us by the user.  It ALWAYS matches.
                 */
-               if (check_item->operator == T_OP_SET) {
+               if ((check_item->operator == T_OP_SET) ||
+                   (check_item->operator == T_OP_ADD)) {
                        check_item = check_item->next;
                        continue;
                }