luci-base: expose static IPv6 configuration even if IPv6-PD is enabled.
authorJan Pazdziora <jan.pazdziora@code.adelton.com>
Fri, 10 Jan 2025 14:02:03 +0000 (15:02 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 23 Jan 2025 22:43:14 +0000 (23:43 +0100)
Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
modules/luci-base/htdocs/luci-static/resources/protocol/static.js

index 03a720cd1e6b84667e88a09dea2372190e796d35..7eb115bd532e102c693bd377def8c661b15c5e5e 100644 (file)
@@ -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', '');
        }
 });