summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2019-08-07 05:45:28 +0200
committerGitHub <noreply@github.com>2019-08-07 05:45:28 +0200
commitb11a25dcb954093fd44f3ce69c9673a748acbb1e (patch)
tree460f43210bac97bda42e04390db9df6e525a27f2 /applications
parentc6eb79387a83bfe791a57be16a9b9afab88ca4fc (diff)
parentee28798aff859e725ab74ae7cb7b3d6c15407263 (diff)
Merge pull request #2968 from dibdot/banIP
luci-app-banip: sync with 0.1.5
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua
index 57294e5c46..277b8363ed 100644
--- a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua
+++ b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua
@@ -131,6 +131,16 @@ e6.default = 4
e6.datatype = "range(1,32)"
e6.rmempty = false
+e7 = e:option(Flag, "ban_autoblacklist", translate("Local Save Blacklist Addons"),
+ translate("Blacklist auto addons are stored temporary in the IPSet and saved permanently in the local blacklist. Disable this option to prevent the local save."))
+e7.default = e7.enabled
+e7.rmempty = true
+
+e8 = e:option(Flag, "ban_autowhitelist", translate("Local Save Whitelist Addons"),
+ translate("Whitelist auto addons are stored temporary in the IPSet and saved permanently in the local whitelist. Disable this option to prevent the local save."))
+e8.default = e8.enabled
+e8.rmempty = true
+
-- Optional Extra Options
e20 = e:option(Value, "ban_triggerdelay", translate("Trigger Delay"),