Maja Wolniewicz wrote: > According to RFC4372 CUI attribute in request can include a single NUL > character, then your test > if ("%{Chargeable-User-Identifier}") { > update reply { > Chargeable-User-Identifier = .... > } > } > evaluates to false.
I've fixed this in CVS head (2.0.1-pre), added better type-checking, and removed the requirement to always convert everything to strings: if (Chargeable-User-Identifier == "") { ... if (Framed-IP-Address > 127.0.0.1) { ... ~200 lines of code: big administrator happiness. :) Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html