5 return network
.registerProtocol('dhcpv6', {
7 return _('DHCPv6 client');
10 getOpkgPackage: function() {
14 renderFormOptions: function(s
) {
17 o
= s
.taboption('general', form
.ListValue
, 'reqaddress', _('Request IPv6-address'));
18 o
.value('try', _('try', 'DHCPv6 address request mode'));
19 o
.value('force', _('force', 'DHCPv6 address request mode'));
20 o
.value('none', _('disabled', 'DHCPv6 address request mode'));
23 o
= s
.taboption('general', form
.Value
, 'reqprefix', _('Request IPv6-prefix of length'));
24 o
.value('auto', _('Automatic'));
25 o
.value('no', _('disabled'));
32 o
= s
.taboption('general', form
.Flag
, 'norelease', _('Do not send a Release when restarting'),
33 _('Enable to minimise the chance of prefix change after a restart'));
35 o
= s
.taboption('advanced', form
.Value
, 'clientid', _('Client ID to send when requesting DHCP'));
36 o
.datatype
= 'hexstring';