luci-app-upnp: change leasefile location hint
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 9 May 2018 12:50:35 +0000 (13:50 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 9 May 2018 19:05:44 +0000 (20:05 +0100)
Change default leasefile hint from /var/log/upnp.leases to
/var/run/miniupnpd.leases

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua

index 17a4d9b76efed7d7b240ed54225944c8e7d067bf..a2023926e060fd2651fe943d5c7d7b5b474e6f74 100644 (file)
@@ -74,7 +74,7 @@ pu = s:taboption("advanced", Value, "presentation_url", translate("Presentation
 pu.placeholder = "http://192.168.1.1/"
 
 lf = s:taboption("advanced", Value, "upnp_lease_file", translate("UPnP lease file"))
-lf.placeholder = "/var/log/upnp.leases"
+lf.placeholder = "/var/run/miniupnpd.leases"
 
 
 s2 = m:section(TypedSection, "perm_rule", translate("MiniUPnP ACLs"),