From c46963613f7f1312dac62e507346777ba6f8d8a6 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Thu, 26 May 2016 19:01:12 +0300 Subject: [PATCH] luci-app-adblock: support adb_fetchttl option Support adb_fetchttl options from adblock 1.1.15 Signed-off-by: Hannu Nyman --- applications/luci-app-adblock/luasrc/model/cbi/adblock.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua index 0f96ffb30..c8af73a43 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" -- 2.25.1