Merge pull request #2968 from dibdot/banIP
authorDirk Brenken <dev@brenken.org>
Wed, 7 Aug 2019 03:45:28 +0000 (05:45 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2019 03:45:28 +0000 (05:45 +0200)
luci-app-banip: sync with 0.1.5

applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua

index 57294e5c46c82b0126842e5c845992555a5debfb..277b8363ed061ace78c7a9a2ffde844f0c198476 100644 (file)
@@ -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"),