summaryrefslogtreecommitdiff
path: root/interface-definitions/firewall.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-13 16:37:07 +0000
committerGitHub <noreply@github.com>2024-02-13 16:37:07 +0000
commit74a86612a207bb84412840a2ac4ff24975c1b8e7 (patch)
treeb41cd90adf5ecf6ef29d7bcda7b9546def347560 /interface-definitions/firewall.xml.in
parent8664be09c24eecfb1e13c0980561744e2e5697bc (diff)
parent8b72851f0fdc7f98f0fdb4e6a312f5752a798d67 (diff)
downloadvyos-1x-74a86612a207bb84412840a2ac4ff24975c1b8e7.tar.gz
vyos-1x-74a86612a207bb84412840a2ac4ff24975c1b8e7.zip
Merge pull request #3003 from vyos/mergify/bp/sagitta/pr-3000
T5064: Firewall fix RegEx for for domain-group (backport #3000)
Diffstat (limited to 'interface-definitions/firewall.xml.in')
-rw-r--r--interface-definitions/firewall.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in
index a2c2b0c58..3219471b1 100644
--- a/interface-definitions/firewall.xml.in
+++ b/interface-definitions/firewall.xml.in
@@ -94,7 +94,7 @@
<properties>
<help>Firewall domain-group</help>
<constraint>
- <regex>[a-zA-Z_][a-zA-Z0-9][\w\-\.]*</regex>
+ <regex>[a-zA-Z_][a-zA-Z0-9]?[\w\-\.]*</regex>
</constraint>
<constraintErrorMessage>Name of domain-group can only contain alpha-numeric letters, hyphen, underscores and not start with numeric</constraintErrorMessage>
</properties>