From: Hannu Nyman Date: Thu, 26 May 2016 16:01:12 +0000 (+0300) Subject: luci-app-adblock: support adb_fetchttl option X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c46963613f7f1312dac62e507346777ba6f8d8a6;p=project%2Fluci.git luci-app-adblock: support adb_fetchttl option Support adb_fetchttl options from adblock 1.1.15 Signed-off-by: Hannu Nyman --- diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua index 0f96ffb30a..c8af73a431 100644 --- a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua +++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua @@ -74,6 +74,11 @@ a3.optional = true a3.default = "::ffff:c000:0201" a3.datatype = "ip6addr" +a4 = e:option(Value, "adb_fetchttl", translate("Timeout for blocklist fetch (seconds)")) +a4.optional = true +a4.default = 5 +a4.datatype = "range(2,60)" + a7 = e:option(Value, "adb_lanif", translate("Name of the logical lan interface")) a7.optional = true a7.default = "lan"