unlang tmp-integer multiply or divide

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Aug 26 17:04:07 CEST 2016


> On 26 Aug 2016, at 16:56, Dinesh Bhardwaj <dinesh at airjaldi.net> wrote:
> 
> Hi,
> 
> I need to multiply two tmp-integers but not getting it to work
> Here is my code
> 
> Tmp-Integer-4 := "1"
> Tmp-Integer-5 := "%{expr:4294967296 * %{Tmp-Integer-3}}"
> Tmp-Integer-6 := "%{expr:%{Tmp-Integer-1} * %{Tmp-Integer-3}}"
> 
> number 1 and 2 works 3 doesnt.

Debug output?


Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160826/5c66e0db/attachment.sig>


More information about the Freeradius-Users mailing list