From 4b1cbffe6468eec6b16358f0536a9bc645b14aa1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 28 Apr 2023 22:42:24 +0200 Subject: [PATCH] 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) --- .../htdocs/luci-static/resources/view/network/interfaces.js | 1 + 1 file changed, 1 insertion(+) 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': -- 2.30.2