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>
Wed, 25 Oct 2023 21:16:13 +0000 (23:16 +0200)
commit25dd8934f18a6cebfca1adb8a0d4b5d0bed73145
treee5aec61a9fe3b0fdb5d6439833938870f6222540
parent575ce5512df534b52185af877d26192adde6a9b5
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>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js