Ticket #34229: patch-client-csocket.py.diff
File patch-client-csocket.py.diff, 491 bytes (added by fclaire@…, 13 years ago) |
---|
-
client/csocket.py
old new 35 35 36 36 END_STRING = "<F2B_END_COMMAND>" 37 37 38 def __init__(self, sock = " /var/run/fail2ban/fail2ban.sock"):38 def __init__(self, sock = "@@PREFIX@@/var/run/fail2ban/fail2ban.sock"): 39 39 # Create an INET, STREAMing socket 40 40 #self.csock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 41 41 self.__csock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)