]> git.pld-linux.org Git - packages/fail2ban.git/blobdiff - ipv6.patch
- rel 4
[packages/fail2ban.git] / ipv6.patch
index 1abc27ee823037626b1bcf801b6001d547c77710..628e5227f29adaf3569af6cf4cd00a06d1949285 100644 (file)
@@ -513,7 +513,7 @@ diff -urN fail2ban-0.8.11.orig/server/failregex.py fail2ban-0.8.11/server/failre
                # Perform shortcuts expansions.
                # Replace "<HOST>" with default regular expression for host.
 -              regex = regex.replace("<HOST>", "(?:::f{4,6}:)?(?P<host>[\w\-.^_]*\w)")
-+              regex = regex.replace("<HOST>", "(?:::f{4,6}:)?(?P<host>[\w\-.^_:]*\w)")
++              regex = regex.replace("<HOST>", "(?:::f{4,6}:)?(?P<host>[\w\-.^_:]*[\w:])")
                if regex.lstrip() == '':
                        raise RegexException("Cannot add empty regex")
                try:
This page took 0.074825 seconds and 4 git commands to generate.