- Fixed "fail2ban-client get <jail> logpath". Bug #1916986.

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@681 a942ae1a-1317-0410-a47c-b1dcaea8d605
_tent/ipv6_via_aInfo
Cyril Jaquier 17 years ago
parent b174a2e858
commit b757c08f40

@ -16,6 +16,7 @@ ver. 0.8.3 (2008/??/??) - stable
Jim Wight. Jim Wight.
- Fixed PID file while started in daemon mode. Thanks to - Fixed PID file while started in daemon mode. Thanks to
Christian Jobic who submitted a similar patch. Christian Jobic who submitted a similar patch.
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986.
ver. 0.8.2 (2008/03/06) - stable ver. 0.8.2 (2008/03/06) - stable
---------- ----------

@ -165,7 +165,8 @@ class Server:
self.__jails.getFilter(name).delLogPath(fileName) self.__jails.getFilter(name).delLogPath(fileName)
def getLogPath(self, name): def getLogPath(self, name):
return self.__jails.getFilter(name).getLogPath() return [m.getFileName()
for m in self.__jails.getFilter(name).getLogPath()]
def setFindTime(self, name, value): def setFindTime(self, name, value):
self.__jails.getFilter(name).setFindTime(value) self.__jails.getFilter(name).setFindTime(value)

Loading…
Cancel
Save