summaryrefslogtreecommitdiff
path: root/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/fail2ban/patches/fail2banreader-logwarning-fix.patch')
-rw-r--r--network/fail2ban/patches/fail2banreader-logwarning-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/fail2ban/patches/fail2banreader-logwarning-fix.patch b/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
new file mode 100644
index 0000000000..a0a8547cc1
--- /dev/null
+++ b/network/fail2ban/patches/fail2banreader-logwarning-fix.patch
@@ -0,0 +1,11 @@
+--- fail2banreader.py.orig 2014-09-27 23:40:05.512547198 -0500
++++ fail2banreader.py 2014-09-27 23:41:27.294412338 -0500
+@@ -45,7 +45,7 @@
+ return ConfigReader.getOptions(self, "Definition", opts)
+
+ def getOptions(self):
+- opts = [["int", "loglevel", "INFO" ],
++ opts = [["string", "loglevel", "INFO" ],
+ ["string", "logtarget", "STDERR"],
+ ["string", "dbfile", "/var/lib/fail2ban/fail2ban.sqlite3"],
+ ["int", "dbpurgeage", 86400]]