From: Jan Pazdziora Date: Fri, 10 Jan 2025 14:02:03 +0000 (+0100) Subject: luci-base: expose static IPv6 configuration even if IPv6-PD is enabled. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8ae000890910ff0ebaa840390aac24d9ed399ab7;p=project%2Fluci.git luci-base: expose static IPv6 configuration even if IPv6-PD is enabled. Signed-off-by: Jan Pazdziora --- diff --git a/modules/luci-base/htdocs/luci-static/resources/protocol/static.js b/modules/luci-base/htdocs/luci-static/resources/protocol/static.js index 03a720cd1e..7eb115bd53 100644 --- a/modules/luci-base/htdocs/luci-static/resources/protocol/static.js +++ b/modules/luci-base/htdocs/luci-static/resources/protocol/static.js @@ -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', ''); } });