There appears to be a "bug" in xlat.c (radius_xlat/decode_attribute) where recursion doesn't work when you have things like:
%{expr: %{Acct-Input-Octets:-0} + 1}
just as an example.
decode_attribute() will stop at the first ":-" and thus pass only "%{expr: %{Acct-Input-Octets" to the registered function for module expr.
Has anyone else come across this, and does anyone have a patch to fix the recursive behaviour of radius_xlat and decode_attribute?
If no-one has a fix then I'll work on something this week, as I need it asap :)
regards, Mike
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html