luci-app-upnp: change leasefile location hint 1789/head
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 17a4d9b..a202392 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"),