Skip to content

Commit

Permalink
luci-base: expose static IPv6 configuration even if IPv6-PD is enabled.
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pazdziora <[email protected]>
  • Loading branch information
adelton committed Jan 10, 2025
1 parent a67d683 commit 6bd246d
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,11 @@ return network.registerProtocol('static', {
o = s.taboption('general', form.DynamicList, 'ip6addr', _('IPv6 address'));
o.datatype = 'ip6addr';
o.placeholder = _('Add IPv6 address…');
o.depends('ip6assign', '');

o = s.taboption('general', form.Value, 'ip6gw', _('IPv6 gateway'));
o.datatype = 'ip6addr("nomask")';
o.depends('ip6assign', '');

o = s.taboption('general', form.Value, 'ip6prefix', _('IPv6 routed prefix'), _('Public prefix routed to this device for distribution to clients.'));
o.datatype = 'ip6addr';
o.depends('ip6assign', '');
}
});

0 comments on commit 6bd246d

Please sign in to comment.