summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-24 19:27:18 +0200
committerGitHub <noreply@github.com>2019-09-24 19:27:18 +0200
commitaac046271b4ca7f4504d213f1f7a56f41c66abba (patch)
tree3820529f7dc132e15d7ad6e8807aaa23223f06d2 /modules/luci-mod-network/htdocs/luci-static/resources
parente091859116c21f8a107e60d53acb664543bd8928 (diff)
parent6bd7295a46e218c2d6312e9a8e4b80497b491b9c (diff)
Merge pull request #2357 from Ansuel/mastero
luci-mod-network: add master option
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js4
1 files changed, 4 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 b49d36d464..bfff2575bd 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
@@ -591,6 +591,10 @@ return L.view.extend({
so.value('relay', _('relay mode'));
so.value('hybrid', _('hybrid mode'));
+ so = ss.taboption('ipv6', form.Flag , 'master', _('Master'), _('Set this interface as master for the dhcpv6 relay.'));
+ so.depends('dhcpv6', 'relay');
+ so.depends('dhcpv6', 'hybrid');
+
so = ss.taboption('ipv6', form.ListValue, 'ra_management', _('DHCPv6-Mode'), _('Default is stateless + stateful'));
so.value('0', _('stateless'));
so.value('1', _('stateless + stateful'));