Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1117,13 +1117,17 @@ return view.extend({

so = ss.taboption('dhcpv6', form.Flag, 'dhcpv6_pd', _('DHCPv6-<abbr title="Prefix Delegation">PD</abbr>'),
_('Toggle IPv6 PD via DHCPv6.'));
so.default = so.enabled;
so.retain = true;
so.depends({ dhcpv6: 'server' });
Comment thread
lucas-albers-lz4 marked this conversation as resolved.
Resolved
so.depends({ dhcpv6: 'hybrid', master: '0' });

so = ss.taboption('dhcpv6', form.Value, 'dhcpv6_pd_min_len', _('<abbr title="Prefix Delegation">PD</abbr> minimum length'),
Comment thread
lucas-albers-lz4 marked this conversation as resolved.
Resolved
_('Configures the minimum delegated prefix length assigned to a requesting downstream router, potentially overriding a requested prefix length. If left unspecified, the device will assign the smallest available prefix greater than or equal to the requested prefix.'));
so.placeholder = '62';
so.datatype = 'range(1,64)';
so.depends({ dhcpv6: 'server', dhcpv6_pd: '1' });
so.depends({ dhcpv6: 'hybrid', master: '0', dhcpv6_pd: '1' });

/* This option is used by odhcpd. It can take IPv4/6 entries, although IPv4 DNS servers don't
always make sense in an IPv6 environment, they might in a dual stack environment. */
Expand Down
Loading