luci-mod-network: expose peerdns option for dhcpv6

Ref: 2be01cbfcb (commitcomment-111035308)
Fixes: 2be01cbfcb ("luci-mod-network: restrict peerdns option to protocols that implemenent it")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2023-04-28 22:42:24 +02:00
parent ad3509bf3b
commit b2476ba71d

View file

@ -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':