luci-app-unbound: additional fixes
authorPaul Donald <redacted>
Thu, 12 Mar 2026 05:00:11 +0000 (06:00 +0100)
committerPaul Donald <redacted>
Thu, 12 Mar 2026 05:00:11 +0000 (06:00 +0100)
Signed-off-by: Paul Donald <redacted>
applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/configure.js

index fab8ff86636d2f4cb9913959d3612c79d1352fcc..d8e2da471988688e3441adc399797ffe2b567b59 100644 (file)
@@ -118,6 +118,7 @@ return view.extend({
                        pfx.depends('dns64', '1');
 
                        const exga = s.taboption('advanced', form.Flag, 'exclude_ipv6_ga', _('Exclude IPv6 GA'));
+                       exga.rmempty = false;
 
                        const din = s.taboption('advanced', form.DynamicList, 'domain_insecure', _('Domain Insecure'),
                                _('List domains to bypass checks of DNSSEC'));
@@ -266,7 +267,7 @@ return view.extend({
 
                        const tlm = s.taboption('resource', form.Value, 'ttl_min', _('TTL Minimum'),
                                _('Prevent excessively short cache periods'));
-                       tlm.datatype = 'and(uinteger,min(0),max(1200))';
+                       tlm.datatype = 'and(uinteger,min(0),max(1800))';
                        tlm.placeholder = '120';
 
                        const tlnm = s.taboption('resource', form.Value, 'ttl_neg_max', _('TTL Neg Max'));
git clone https://git.99rst.org/PROJECT