3 Jul
2015
3 Jul
'15
8:09 a.m.
On 03-07-15 12:59, Randeep wrote:
Hi Newton,
We are using this parameter only for a "if" condition check. We are not sending this value to Mikrotik.
If the SUM(acctinputoctets)+SUM(acctoutputoctets) > Max-Data, we are sending the Mikrotik-Rate-Limit to the Mikrotik to reduce the speed.
But the issue is We are not able to set more than 4G to Max-Data.
Is Max-Data defined as an integer? If so, it is a 32bit unsigned integer, and 4G is the maximum value that fits in there. Change it to a integer64, or perform some magic with splitting it into two values with bitshifting operations. The first option is probably the easiest. -- Herwin Weststrate