Unlang comparing variable correctly

Alan DeKok aland at deployingradius.com
Fri May 3 18:32:53 CEST 2013


Tyller D wrote:
> So as you can see it enters entering if (control:IMS-Data < 0) {...}, as
> it says that IMS-Data is < 0. Its not, so I echoed out the variable in
> the next line and its value is 3221197824...
> 
> The strange thing is if the variable is equal to 2147465216 then it does
> not enter that function.

  Hmm... the comparisons are *supposed* to be unsigned.  I'll take a
look at that.

  Alan DeKok.


More information about the Freeradius-Users mailing list