diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-17 12:28:51 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-06-17 12:40:43 +0200 |
commit | f689d0d208acbf9934da5a2d49c8717c054be585 (patch) | |
tree | 7d3bca29007380e5f62989dcdf2e123ddd7eb3bf /themes/luci-theme-openwrt-2020/htdocs | |
parent | 36350e9867ca9fd2f9b137ed76f0fabe0e57c880 (diff) |
luci-mod-network: refactor device configuration
Since all netifd device types inherit generic device settings, we can
simplify various aspects of the device configuration ui and drop unused
code while we're at it.
- Remove setIfActive() helper, superseded by commit
f3f74bd0fe ("luci-base: form.js: consider aliased options in AbstractValue.remove()")
- Remove most dependency constraints to make all generic device settings
available for all device types
- Add MTU value validation to disallow exceeding parent device MTU for
VLAN interfaces
- Dynamically update placeholder values when changing base or parent
device options
- Undo VLAN network config hack since all options are available now.
Reverts commit
3c6b59504a ("luci-mod-interfaces: simplify configuring MAC address of 802.1q devices")
- Do not suggest inactive wireless networks as existing device or base
device choices
- Disallow specifying names of already existing network devices when
creating new device settings
- Fix a number of multicast dependency specifications
- Drop now unused functions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt-2020/htdocs')
0 files changed, 0 insertions, 0 deletions