luci-base: rewrite luci.sys.net.conntrack()
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 14:53:26 +0000 (15:53 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 14:54:43 +0000 (15:54 +0100)
commit397294ab06b2f228263ceb3d1435db3d282e715f
tree5a2b6a14c42bd8ffab4538b98840502fc24a92a2
parentc18a0e447fa0fd0ee74dab2ed27c1d261c0efe4d
luci-base: rewrite luci.sys.net.conntrack()

The new function is twice as fast as the old implementation and properly
summarizes outgoing and incoming byte and packet counters.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/sys.lua