diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-05-26 19:01:12 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-05-26 19:01:12 +0300 |
commit | c46963613f7f1312dac62e507346777ba6f8d8a6 (patch) | |
tree | a95f90ac483de6bfb22270cc1590e89671b191bd /applications/luci-app-adblock/luasrc/model | |
parent | 285ef06e5f0411fb738b7d11e841c45217132e1c (diff) |
luci-app-adblock: support adb_fetchttl option
Support adb_fetchttl options from adblock 1.1.15
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-adblock/luasrc/model')
-rw-r--r-- | applications/luci-app-adblock/luasrc/model/cbi/adblock.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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" |