projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204c3d1
)
We need paircmp to support regexes
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Wed, 4 Jun 2014 17:25:26 +0000
(18:25 +0100)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Wed, 4 Jun 2014 17:25:26 +0000
(18:25 +0100)
src/lib/valuepair.c
patch
|
blob
|
history
diff --git
a/src/lib/valuepair.c
b/src/lib/valuepair.c
index
2f3072c
..
af25ef6
100644
(file)
--- a/
src/lib/valuepair.c
+++ b/
src/lib/valuepair.c
@@
-575,7
+575,7
@@
bool pairvalidate(VALUE_PAIR const *failed[2], VALUE_PAIR *filter, VALUE_PAIR *l
* Note that the RFCs say that for attributes of
* the same type, order is important.
*/
- if (paircmp
_value
(check, match) != 0) goto mismatch;
+ if (paircmp(check, match) != 0) goto mismatch;
check = fr_cursor_next(&filter_cursor);
match = fr_cursor_next(&list_cursor);