Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-06-05 19:41:39 +0300
committerJo-Philipp Wich <jo@mein.io>2021-06-05 19:41:39 +0300
commita6c0ad00b28a5d3f91338b50f7e69fbd45f2154e (patch)
treebb3e1434eafac655cdac42489f51d1d4ad162859 /libs
parent3c6b59504aaa6ee33a2ee768aafc0aeaefb06004 (diff)
luci-mod-network: allow device declarations and device configs to coexist
It is legal to have two device sections referring to the same netdev if one section is a declaration (a section setting option type) and the other is a configuration (a section not specifying a type but matching an existing netdev). Support this case in LuCI since it might be required for some complex device setups. Additionally, fix the device type determination for device configuration sections without type, those should be treated as ethernet (a.k.a. simple device) configuration instead of falling back to the underlying netdev device type. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions