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>
(cherry picked from commit ac136290da)
This commit is contained in:
David Härdeman
2025-12-13 09:39:54 +01:00
committed by Paul Donald
parent ea45563c05
commit 339662cd28

View File

@@ -616,11 +616,11 @@ return view.extend({
_('Lease trigger'), _('Lease trigger'),
_('Path to a script to run each time the lease file changes.')); _('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'), _('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'), _('PIO directory'),
_('Directory to store IPv6 prefix information files in (to detect and announce stale prefixes).')); _('Directory to store IPv6 prefix information files in (to detect and announce stale prefixes).'));