From b2476ba71de964828def0967793556bdb141d7e2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 28 Apr 2023 22:42:24 +0200 Subject: 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 --- .../htdocs/luci-static/resources/view/network/interfaces.js | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view') 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': -- cgit v1.2.3