From 72bd666797c8285caf2123bbfdef9f23b3b96dc3 Mon Sep 17 00:00:00 2001 From: sebres Date: Wed, 16 Aug 2017 20:50:06 +0200 Subject: [PATCH] Fixes representation of IPAddr (likely the string representation, enclosed in single-quotes). --- fail2ban/server/ipdns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/server/ipdns.py b/fail2ban/server/ipdns.py index 7110d974..2841eac1 100644 --- a/fail2ban/server/ipdns.py +++ b/fail2ban/server/ipdns.py @@ -298,7 +298,7 @@ class IPAddr(object): self._family = IPAddr.CIDR_RAW def __repr__(self): - return self.ntoa + return repr(self.ntoa) def __str__(self): return self.ntoa