luci-mod-status: fix incorrect unit for port speed
authorqianxu <redacted>
Tue, 6 Jan 2026 10:48:15 +0000 (18:48 +0800)
committerPaul Donald <redacted>
Tue, 6 Jan 2026 13:18:51 +0000 (13:18 +0000)
commit64e8a43cc3dc3cf0d35d7c3023aaf105fbe2cfb3
tree033bb50cadc05c688e8ccd65e9db5bc90367ec00
parent44c934efece306876e66ca679626accca1f8fc1d
luci-mod-status: fix incorrect unit for port speed

The kernel reports port speeds in decimal Mbps (e.g. 1000 for Gigabit).
Currently, the interface labels this value as 'Mibit/s' (binary),
which creates a unit mismatch.

This patch updates the label to 'Mbit/s' to match the source data.

Signed-off-by: qianxu <redacted>
modules/luci-mod-status/Makefile
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js
git clone https://git.99rst.org/PROJECT