- Added log reader name

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@59 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.6
Cyril Jaquier 20 years ago
parent 16dbc44607
commit deffa8f5aa

@ -42,6 +42,16 @@ class LogReader:
self.lastModTime = 0
self.logSys = logSys
def setName(self, name):
""" Sets the name of the log reader.
"""
self.name = name
def getName(self):
""" Gets the name of the log reader.
"""
return self.name
def addIgnoreIP(self, ip):
""" Adds an IP to the ignore list.
"""

Loading…
Cancel
Save