luci-mod-status: refactor luci-bwc
authorJo-Philipp Wich <jo@mein.io>
Mon, 20 Jan 2020 17:55:05 +0000 (18:55 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 20 Jan 2020 17:58:40 +0000 (18:58 +0100)
commit3aeda2a2ea7cebfbe23bbba3677c0a8cc0025d6c
tree27b6cececf26d003d53d94ff9766e012f54e1455
parentc395d438074e598d6e51d5ed104f5712f79b63b6
luci-mod-status: refactor luci-bwc

 - Read interface statistics from /sys/class/net/
 - Discover all wireless interfaces, not just specifically named ones

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8b1d831935d64758b798958f69dc976ffa6dd8eb)
modules/luci-mod-status/src/Makefile
modules/luci-mod-status/src/luci-bwc.c