Unlang issue

Garber, Neal Neal.Garber at iberdrolausa.com
Fri Jul 29 15:25:11 CEST 2011


> Try:
>
> if ((Client-IP-Address == x) || (Client-IP-Address == y)) {
> }

No joy :-(.  For now, I ended up doing:

           if (Called-Station-Id) {
              if (Client-IP-Address == "x") {
                 update request {
                    Huntgroup-Name := "zzzz"
                 }
              }
              elsif (Client-IP-Address == "y") {
                 update request {
                    Huntgroup-Name := "zzzz"
                 }
              }
           }

Not as efficient, but it works.  I'll retest the old unlang code after I upgrade later this year.




More information about the Freeradius-Users mailing list