summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-04-28 22:42:24 +0200
committerJo-Philipp Wich <jo@mein.io>2023-04-28 22:42:24 +0200
commitb2476ba71de964828def0967793556bdb141d7e2 (patch)
tree9ba7558eff625474a3c6add7eca07888f83235f8
parentad3509bf3bb5dfa79af634c841d584408068fb0a (diff)
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 <jo@mein.io>
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js1
1 files changed, 1 insertions, 0 deletions
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':