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>
This commit is contained in:
parent
2a5c5f47f9
commit
d3541e9269
1 changed files with 4 additions and 0 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue