mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
luci-proto-ipv6: add missing extendprefix option for DHCPv6 client
Allow the DHCPv6 client to accept /64 prefix via SLAAC and extend it on downstream interface (RFC 7278) useful for ISPs that only distribute /64 IPv6 prefixes through SLAAC. Signed-off-by: Arayuki Mago <ms@missing233.com>
This commit is contained in:
committed by
Paul Donald
parent
7baceb068d
commit
d992d6f105
@@ -30,6 +30,9 @@ return network.registerProtocol('dhcpv6', {
|
||||
o.value('60');
|
||||
o.value('64');
|
||||
o.default = 'auto';
|
||||
|
||||
o = s.taboption('general', form.Flag, 'extendprefix', _('Extend prefix'), _('Extend 3GPP WAN interface /64 prefix via PD to LAN (RFC 7278)'));
|
||||
|
||||
o = s.taboption('general', form.Flag, 'norelease', _('Do not send a Release when restarting'),
|
||||
_('Enable to minimise the chance of prefix change after a restart'));
|
||||
o.default = '1';
|
||||
|
||||
Reference in New Issue
Block a user