64 bit integers to be used in comparisons in unlang stattements

Ali Arslan e066377 at yahoo.com
Thu Oct 4 08:16:12 CEST 2018


Hi,

In unlang statements i need to store input and output octet sums from accounting table to keep if conditions simple and readable, but unlang does not support 64 bit integers so i need another integer variable to keep gigaword carry which needs the same sql query to be executed multiple times.

Isn't it possible to add "long integer" support to unlang to be used in calculations, not to be sent on wire?

Results can be stored in string variables, but again we need casting to long integer in comparison.

As being a newbie in freeradius world i may be missing some other simple workarounds for the problem stated above, if so i need some suggestions to hande this problem.

Thanks.


More information about the Freeradius-Users mailing list