luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge 2216/head
authoryangfl <yangfl@users.noreply.github.com>
Wed, 10 Oct 2018 05:12:34 +0000 (13:12 +0800)
committeryangfl <yangfl@users.noreply.github.com>
Wed, 10 Oct 2018 05:16:57 +0000 (13:16 +0800)
commit645a555f391044504886d6fcb5d6235911eb6869
tree2ff56cc31cd34855108ef69ae0e253d87542c91e
parent701f6b0819a902e8c45e19c95aad7121f9c50145
luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge

It's completely OK to select a bridge as the underlying interface of
other interfaces, say a tunnel or PPPoE. The only case which should be
forbidden is bridge over bridge.

Signed-off-by: David Yang <mmyangfl@gmail.com>
modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua