luci-mod-network: update odhcpd configuration

Update two cfg parameters that have changed names/behaviour in recent
versions of odhcpd.

Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
David Härdeman
2025-12-13 09:39:54 +01:00
committed by Paul Donald
parent b1afdbeb55
commit ac136290da

View File

@@ -616,11 +616,11 @@ return view.extend({
_('Lease trigger'),
_('Path to a script to run each time the lease file changes.'));
o = s.taboption('general', form.Value, 'hostsfile',
o = s.taboption('general', form.Value, 'hostsdir',
_('Hosts file'),
_('Path to store a hostsfile (IP address to hostname mapping) in. Used by e.g. <code>dnsmasq</code>.'));
_('Directory to store hosts files (IP address to hostname mapping) in. Used by e.g. <code>dnsmasq</code>.'));
o = s.taboption('general', form.Value, 'piofolder',
o = s.taboption('general', form.Value, 'piodir',
_('PIO directory'),
_('Directory to store IPv6 prefix information files in (to detect and announce stale prefixes).'));