You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
781 B
22 lines
781 B
commit 1470e3c01d49841335e11ed7ca7898516d1b8be8
|
|
Author: Steven Hiscocks <steven@hiscocks.me.uk>
|
|
Date: Wed Mar 19 19:09:07 2014 +0000
|
|
|
|
BF: fail2ban.conf reader expected "int" type for `loglevel`
|
|
|
|
Closes #657
|
|
|
|
diff --git a/fail2ban/client/fail2banreader.py b/fail2ban/client/fail2banreader.py
|
|
index f17ff92..251c698 100644
|
|
--- a/fail2ban/client/fail2banreader.py
|
|
+++ b/fail2ban/client/fail2banreader.py
|
|
@@ -45,7 +45,7 @@ class Fail2banReader(ConfigReader):
|
|
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]]
|