From 26e5690a4b05245d6a7e98aa2c026df1bbf08305 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Mon, 25 Sep 2006 20:45:23 +0000 Subject: [PATCH] - Beautified "ping" response git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@386 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- client/beautifier.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/beautifier.py b/client/beautifier.py index bb41f1744..2ef8d515c 100644 --- a/client/beautifier.py +++ b/client/beautifier.py @@ -53,7 +53,9 @@ class Beautifier: inC = self.__inputCmd msg = response try: - if inC[0] == "start": + if inC[0] == "ping": + msg = "Server replied: " + response + elif inC[0] == "start": msg = "Jail started" elif inC[0] == "stop": if len(inC) == 1: