From: Jo-Philipp Wich Date: Fri, 28 Apr 2023 20:42:24 +0000 (+0200) Subject: luci-mod-network: expose peerdns option for dhcpv6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4b1cbffe6468eec6b16358f0536a9bc645b14aa1;p=project%2Fluci.git luci-mod-network: expose peerdns option for dhcpv6 Ref: https://github.com/openwrt/luci/commit/2be01cbfcb34746d9713173a60c3f8a69c554a68#commitcomment-111035308 Fixes: 2be01cbfcb ("luci-mod-network: restrict peerdns option to protocols that implemenent it") Signed-off-by: Jo-Philipp Wich (cherry picked from commit b2476ba71de964828def0967793556bdb141d7e2) --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index d0ffe02ee9..ebd9c05c56 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -231,6 +231,7 @@ function get_netmask(s, use_cfgvalue) { function has_peerdns(proto) { switch (proto) { case 'dhcp': + case 'dhcpv6': case 'qmi': case 'ppp': case 'pppoe':