Alan Dekok wrote:
Wichert Akkerman wrote:
Perhaps it would be interesting if a module could register a function for the 'not a real language'. That would allow the realm module to allow you to do something like:
if (HasRealm('IPASS', %{User-Name})) { ... }
(cough) As always, patches are welcome. :)
But yes, that's a good idea. The only problem is that the unlanguage ends up turning into something like PHP, which worries me.
And what do you have against PHP ? I've always liked PHP, specially over Perl *eww*
The goal is to avoid variables other than RADIUS attributes, loops, goto's, subroutines, etc. But allowing the registration of new commands would be too useful to avoid, I think.
Maybe in 2.1.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html