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)
committerJo-Philipp Wich <jo@mein.io>
Sat, 20 Mar 2021 23:50:27 +0000 (00:50 +0100)
commit9a92f9c7615f710a7934cccc8ac23902247c154b
treedc4fd71fb3cf9732b748dfd7f2b4e6ef49b9728c
parent2bfd4908a9cfeac74c7abc31d8cef0bf1e58af52
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>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js