luci-mod-network: restore DNS option semantics for proto static
authorJo-Philipp Wich <jo@mein.io>
Sat, 20 Mar 2021 23:36:24 +0000 (00:36 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 27 May 2021 10:19:05 +0000 (12:19 +0200)
commit7684c18604b68f4d3af3edf7d19fe4d5bae1db86
tree4fef91a17c0b8270754240c006ed19fc07c3c104
parenta3ec9b262df6f1399cb5c0587e04724d83e7dcf0
luci-mod-network: restore DNS option semantics for proto static

The peerdns settings makes little practical sense for proto:static
interfaces, so revert to allow setting the DNS server list directly.

Fixes: faad7464a8 ("luci-mod-network: add support for network.device sections")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2bfd4908a9cfeac74c7abc31d8cef0bf1e58af52)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js