Hi Jow,
Thanks for looking at my patches.
On Wed, Jul 11, 2012 at 9:29 PM, Jo-Philipp Wich wrote:
> The LuCI patch will not properly work that way, OpenWrt Lua does not
> handle numeric integer values > 2^31 bit. A somewhat larger range can be
> stored as float but the precision is not enough:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The LuCI patch will not properly work that way, OpenWrt Lua does not
handle numeric integer values > 2^31 bit. A somewhat larger range can be
stored as float but the precision is not enough:
# lua -e 'print(string.format("%d", tonumber("18446744073709
One thing that has annoyed me for a long time on Linux systems is when
the network interface stats overflow at 32bit. Later versions of the
kernel support 64 bit stats on a 32 bit system to fix this. However
the current trunk version of openwrt and luci truncate the stats back
to 32 bit.
Not all