luci-mod-network: only consider bridge vlans belonging to the current device
authorJo-Philipp Wich <jo@mein.io>
Thu, 17 Jun 2021 06:58:15 +0000 (08:58 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 17 Jun 2021 07:39:38 +0000 (09:39 +0200)
commit8b663587f931aae5e3dcdccc6ba5b90a9d858076
treec57ce8cda5b20c49ecb28b8bcc9ab073999e1f39
parent83f6606a6d89a765c4ebf70dc2610c47cb4cd033
luci-mod-network: only consider bridge vlans belonging to the current device

In case multiple bridges with bridge vlans are declared, LuCI did not
correctly filter the VLANs to show only the ones belonging to the
bridge being configured currently.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f6f1eacb012b0364940c1dc9b9392fc0e60405b9)
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js