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  
    3535       
    3636        END_STRING = "<F2B_END_COMMAND>"
    3737       
    38         def __init__(self, sock = "/var/run/fail2ban/fail2ban.sock"):
     38        def __init__(self, sock = "@@PREFIX@@/var/run/fail2ban/fail2ban.sock"):
    3939                # Create an INET, STREAMing socket
    4040                #self.csock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    4141                self.__csock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)