From 306c69f850f01c89f3c965a4165b04391df0baef Mon Sep 17 00:00:00 2001 From: Kajetan Staszkiewicz Date: Thu, 20 Feb 2025 14:19:33 +0100 Subject: [PATCH] Allow lower and upper case IPv[46] --- igcollect/pf_labels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/igcollect/pf_labels.py b/igcollect/pf_labels.py index e1cce90..1dd00fa 100755 --- a/igcollect/pf_labels.py +++ b/igcollect/pf_labels.py @@ -12,7 +12,7 @@ import re import time -POOL_RE = re.compile('(pool_[0-9]+)_IPv([46]).*') +POOL_RE = re.compile("(pool_[0-9]+)_(IP|ip)v([46]).*") def parse_args():