luci-mod-status: fix sporadic logical interfaces resolve failures
authorJo-Philipp Wich <jo@mein.io>
Mon, 4 Mar 2024 22:54:24 +0000 (23:54 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 4 Mar 2024 22:57:30 +0000 (23:57 +0100)
commit3cbf27061ad313ab47abf979d4549b1423cf9b6a
tree41e48a339f2df9b4707cf2b6548429442bdba35f
parentf477a3523071b03dcdb397400d35a7051f32698d
luci-mod-status: fix sporadic logical interfaces resolve failures

Correct the incorrect netmask calculation logic leading to incorrect
network range comparisons in some cases.

Fixes: #6956
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fa6c345e19360439fa5077137d1e927b0cc501d0)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js