luci-mod-status: protect against infinite recursion in port status
authorJo-Philipp Wich <jo@mein.io>
Wed, 25 Oct 2023 21:16:13 +0000 (23:16 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 2 Nov 2023 10:43:53 +0000 (11:43 +0100)
commitf875367413201aaaf25c7897eb9fd2a206c58f55
tree4147a6ca5717da8e7cd11c9fd03bbdf090e6398e
parent330707bd13537ec4da70ed7577b2523387b2075b
luci-mod-status: protect against infinite recursion in port status

When attempting to resolve VLAN devices, protect against potential deep
recursion due to invalid bridge configs referencing themselves.

Fixes: #6648
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 25dd8934f18a6cebfca1adb8a0d4b5d0bed73145)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js