luci-mod-status: fix free swap calculation
authorJo-Philipp Wich <jo@mein.io>
Thu, 14 Nov 2019 08:30:16 +0000 (09:30 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 14 Nov 2019 08:31:10 +0000 (09:31 +0100)
commite82e3d8f2c0f90f47f0c393a0866fe4f71c97002
tree4af0c1679fa499836a80c9863488afe0b05e7b8c
parentebd354d4205bada31c7c4c6a3ccf801ea30dfeae
luci-mod-status: fix free swap calculation

Fixes: #3295
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 80c9b6fee0aff23b4c56563612f70ef2c412b7ac)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/20_memory.js