mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
rpcd-mod-luci: fix default odhcpd statefile location
The default location for the lease file has changed in odhcpd, update
rpcd-mod-luci to reflect the new default location.
See:
c9e7f32c4c/package/network/services/odhcpd/files/odhcpd.defaults (L29-L31)
Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
committed by
Paul Donald
parent
3b7869e6df
commit
338b379d4d
@@ -466,7 +466,7 @@ lease_open(void)
|
||||
add_leasefile("/tmp/dhcp.leases", false);
|
||||
|
||||
if (!find_leasefiles(uci, true))
|
||||
add_leasefile("/tmp/hosts/odhcpd", true);
|
||||
add_leasefile("/tmp/odhcpd.leases", true);
|
||||
|
||||
uci_free_context(uci);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user