diff options
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r-- | Mailman/Utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 2f9bda63..cdc82366 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1513,6 +1513,6 @@ def banned_ip(ip): if not ans: return False text = ans.rrset.to_text() - if re.search(r'127\.0\.0\.\d{1,2}$', text, re.MULTILINE): + if re.search(r'127\.0\.0\.[2-7]$', text, re.MULTILINE): return True return False |