control flow in FreeRADIUS authorize section
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Wed Oct 2 23:57:00 CEST 2013
Hi,
> A simple thing:
>
>
> <infected case>
> update control {
> Tmp-String-0 := "stop"
> }
> ...
>
>
>
>
> if (Tmp-String-0 != "stop") {
> <BUNCH OF UNLANG CODE>
> }
>
> That should work. Ugly, but functional.
this is pretty much what I was going to suggest. ugly, yes. but sometimes simple is best.
and its much easier for a non unlang'y person to understand the logic! :)
alan
More information about the Freeradius-Users
mailing list