From d3541e9269dc0340cff5e3a2374b6d5f2f230e6a Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Tue, 24 Sep 2019 17:56:41 +0200 Subject: luci-mod-network: add master option Adds option to set interface as master in dhcpv6 relay mode. Signed-off-by: Ansuel Smith --- .../htdocs/luci-static/resources/view/network/interfaces.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') 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 b49d36d46..bfff2575b 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')); -- cgit v1.2.3