]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Check value of Fall-Through, too
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Sep 2009 12:12:35 +0000 (14:12 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Sep 2009 12:12:35 +0000 (14:12 +0200)
src/modules/rlm_attr_filter/rlm_attr_filter.c

index db1891bc20fa09095a64185392dd9a1ac9bc4086..ba5e53c4631f29d5966a765df86184c7b6656927 100644 (file)
@@ -229,7 +229,8 @@ static int attr_filter_common(void *instance, REQUEST *request,
                for (check_item = pl->check;
                     check_item != NULL;
                     check_item = check_item->next) {
-                       if (check_item->attribute == PW_FALL_THROUGH) {
+                       if ((check_item->attribute == PW_FALL_THROUGH) &&
+                           (check_item->vp_integer == 1)) {
                                fall_through = 1;
                                continue;
                        }