Problem with Local variable especially when its negative

Paul Seward Paul.Seward at bristol.ac.uk
Thu May 5 12:23:01 CEST 2016


On 5 May 2016 at 11:14, Mrinal K <sinha.mrinal at gmail.com> wrote:

>                         if("%{control:My-Local-Int-3}" > 0){
>

That looks to me like you're comparing a string to an integer.  That's
probably not what you wanted to do.

Have you tried this instead?
if(%{control:My-Local-Int-3} > 0){

-Paul
-- 
----------------------------------------------------------------------
Paul Seward,    Senior Systems Administrator,    University of Bristol
Paul.Seward at bristol.ac.uk  +44 (0)117 39 41148    GPG Key ID: E24DA8A2
GPG Fingerprint:    7210 4E4A B5FC 7D9C 39F8  5C3C 6759 3937 E24D A8A2


More information about the Freeradius-Users mailing list