Support for RFC4372 (Chargeable User Identity)

Alan DeKok aland at deployingradius.com
Tue Jan 15 16:51:31 CET 2008


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.



More information about the Freeradius-Users mailing list