luci-mod-network: adjust DNS cache size placeholder
authorHannu Nyman <hannu.nyman@iki.fi>
Mon, 27 Feb 2023 03:47:55 +0000 (05:47 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 27 Feb 2023 03:47:55 +0000 (05:47 +0200)
Adjust DNS cache size placeholder value to 1000 to
match the OpenWrt default after
https://github.com/openwrt/openwrt/commit/a57796b137494fc20e984d0049e8e7430e9ebb25

Fixes #6254

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index c62231fe20fa66d33091e7d35d73b5e3ada299a7..3a213a20cd85b0016f2ebda5e2eb094484b762e5 100644 (file)
@@ -555,7 +555,7 @@ return view.extend({
                        _('Number of cached DNS entries, 10000 is maximum, 0 is no caching.'));
                o.optional = true;
                o.datatype = 'range(0,10000)';
-               o.placeholder = 150;
+               o.placeholder = 1000;
 
                o = s.taboption('pxe_tftp', form.Flag, 'enable_tftp',
                        _('Enable TFTP server'),