diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-31 14:00:51 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-05-31 14:04:50 +0200 |
commit | fc12933670ba9efd87a24b6823cf57a666b54c1a (patch) | |
tree | d2c2ca095aaed76f123e77193d25409ee91afb3e /libs | |
parent | cbeb6ce92a194b7a1cb8de3d3a39065419ebc661 (diff) |
luci-mod-network: make device selector dependent on protocol (again)
This commit effectively reverts the change made with
907b4222f7 ("luci-mod-network: don't hide "Device" on protocol change").
Floating tunnel protocols such as 6in4, plain PPP over modem device,
VPNC etc. do not have any layer 2 device at all, for such protocols the
device selector should be hidden.
Also swap back the incorrect option order introduced with commit
b7f3cf66ca ("luci-mod-network: drop support for *adding* legacy bridges").
Since device depends on proto, it should come after the protocol selection,
not before.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions