Ticket #34229: patch-fail2ban-regex.diff
File patch-fail2ban-regex.diff, 661 bytes (added by fclaire@…, 13 years ago) |
---|
-
fail2ban-regex
old new 29 29 30 30 # Inserts our own modules path first in the list 31 31 # fix for bug #343821 32 sys.path.insert(1, " /usr/share/fail2ban")32 sys.path.insert(1, "@@PREFIX@@/share/fail2ban") 33 33 34 34 from client.configparserinc import SafeConfigParserWithIncludes 35 35 from ConfigParser import NoOptionError, NoSectionError, MissingSectionHeaderError … … 66 66 67 67 test = None 68 68 69 CONFIG_DEFAULTS = {'configpath' : " /etc/fail2ban/"}69 CONFIG_DEFAULTS = {'configpath' : "@@PREFIX@@/etc/fail2ban/"} 70 70 71 71 def __init__(self): 72 72 self.__filter = Filter(None)