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