luci-mod-network: fix handling of peerdns/dns/dns_search options
authorJo-Philipp Wich <jo@mein.io>
Sat, 20 Mar 2021 23:50:27 +0000 (00:50 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 27 May 2021 10:19:05 +0000 (12:19 +0200)
commitdec5d8099edb09d44713544e4a823cdd19f1b616
tree8f4885c17290e3d2c02caaaa167d2ae004cdd23c
parent7684c18604b68f4d3af3edf7d19fe4d5bae1db86
luci-mod-network: fix handling of peerdns/dns/dns_search options

The previous change didn't take dynamic dependency mangling into account.

Fixes: 2bfd4908a9 ("luci-mod-network: restore DNS option semantics for proto static")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9a92f9c7615f710a7934cccc8ac23902247c154b)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js