luci-mod-network: handle default protocol for UCI interfaces
authorErik Karlsson <erik.karlsson@iopsys.eu>
Wed, 8 Jan 2025 12:00:57 +0000 (13:00 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Wed, 22 Jan 2025 14:49:14 +0000 (15:49 +0100)
commit070b2e57c6a54c698143012b3caaeb2210b10286
tree5e523e240bce8dfe9a4030ad353b2e23a9cb5784
parentba1fb8ee424b8a7b0202d7a1ca01b93e7b8dc576
luci-mod-network: handle default protocol for UCI interfaces

The protocol defaults to 'none' in netifd if unspecified.

Some previously unused and some now redundant code is also removed.

Signed-off-by: Erik Karlsson <erik.karlsson@iopsys.eu>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js