luci-mod-network: tools.network: handle bridge config and vlan corner cases
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Mar 2021 16:19:42 +0000 (17:19 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 18 Mar 2021 16:28:40 +0000 (17:28 +0100)
commit14fdce0fcdfe39ff4143b294a1f1f65d7c783ce7
treee9e53d9d155ea3197ebf9e5b996866d85ea89e51
parent3b4c161e01e2bd19105c123fbec463bc069d637b
luci-mod-network: tools.network: handle bridge config and vlan corner cases

 - Disable interface-level bridging if a corresponding br-$name bridge
   already exists as device declaration

 - Exempt wireless interfaces from bridge port configuration, they can only
   be attached indirectly through "option network"

 - Consider bridge ports from both "option ifname" in interface/device
   sections and from "option ports" in bridge-vlan ones

 - Small fixes for rendering quirks

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js