From 338b379d4d28742d4062b7c5224292a74a155b99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 30 Nov 2025 19:34:08 +0100 Subject: [PATCH] rpcd-mod-luci: fix default odhcpd statefile location MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The default location for the lease file has changed in odhcpd, update rpcd-mod-luci to reflect the new default location. See: https://github.com/openwrt/openwrt/blob/c9e7f32c4c09277ae945299d068230226994c19c/package/network/services/odhcpd/files/odhcpd.defaults#L29-L31 Signed-off-by: David Härdeman --- libs/rpcd-mod-luci/src/luci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/rpcd-mod-luci/src/luci.c b/libs/rpcd-mod-luci/src/luci.c index 460102ff4c..f5527a8a94 100644 --- a/libs/rpcd-mod-luci/src/luci.c +++ b/libs/rpcd-mod-luci/src/luci.c @@ -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); } -- 2.30.2