From 3c9d7d3da477f733b4197b5100589dbb1e9ab36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 10 Aug 2019 03:54:35 +0200 Subject: [PATCH] firewall: service name can contain digits too --- qubesmanager/firewall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/firewall.py b/qubesmanager/firewall.py index 71b3ee1..71a2c0a 100644 --- a/qubesmanager/firewall.py +++ b/qubesmanager/firewall.py @@ -146,7 +146,7 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel): self.__services = list() self.port_range_pattern = re.compile(r'\d+-\d+') - self.service_port_pattern = re.compile(r'(\d*) \([a-zA-Z-]*\)') + self.service_port_pattern = re.compile(r'(\d*) \([a-zA-Z0-9-]*\)') pattern = re.compile( r"(?P[a-z][a-z0-9-]+)\s+(?P[0-9]+)/"