Skip to content

Commit

Permalink
Compare da not just attribute number (fix clashing vendor and RFC spa…
Browse files Browse the repository at this point in the history
…ce attributes)
  • Loading branch information
arr2036 committed Mar 12, 2014
1 parent a23188a commit ce13a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/rlm_attr_filter/rlm_attr_filter.c
Expand Up @@ -268,8 +268,8 @@ static rlm_rcode_t attr_filter_common(void *instance, REQUEST *request, RADIUS_P
continue;
}

if (input_item->da->attr == check_item->da->attr) {
check_pair(check_item, input_item, &pass, &fail);
if (input_item->da == check_item->da) {
check_pair(request, check_item, input_item, &pass, &fail);
}
}

Expand Down

0 comments on commit ce13a8a

Please sign in to comment.