min-ttl.patch 632 B

12345678910111213141516
  1. --- a/feeds/luci/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
  2. +++ b/feeds/luci/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
  3. @@ -364,6 +364,13 @@ return view.extend({
  4. o.datatype = 'range(0,10000)';
  5. o.placeholder = 150;
  6. + o = s.taboption('advanced', form.Value, 'mini_ttl',
  7. + _('Minimum TTL to send to clients'),
  8. + _('Modify DNS entries minimum TTL (max is 86400, 0 is no modify)'));
  9. + o.optional = true;
  10. + o.datatype = 'range(0,86400)';
  11. + o.placeholder = 0;
  12. +
  13. s.taboption('tftp', form.Flag, 'enable_tftp',
  14. _('Enable TFTP server')).optional = true;