diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2019-09-24 17:56:41 +0200 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2019-09-24 19:10:11 +0200 |
commit | d3541e9269dc0340cff5e3a2374b6d5f2f230e6a (patch) | |
tree | a98ecd0f7a83422c212954788c9b95c00cea4628 /modules/luci-mod-network | |
parent | 2a5c5f47f95978c6eb5c52b41b4e931e63afa4f5 (diff) |
luci-mod-network: add master option
Adds option to set interface as master in dhcpv6 relay mode.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js | 4 |
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 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')); |