summaryrefslogtreecommitdiff
path: root/interface-definitions/firewall.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-13 17:34:47 +0100
committerGitHub <noreply@github.com>2024-02-13 17:34:47 +0100
commitfe12cb8694c2eacfb450305e5a42a0f1e4d7787d (patch)
tree7a8a4ad5c273d49314cf776334252c982abcf904 /interface-definitions/firewall.xml.in
parent7ca76b72e2639b3d5774c65dc250d00f0fbdf65b (diff)
parentb67049edab41e8714aec087b81d589fdb03a350b (diff)
downloadvyos-1x-fe12cb8694c2eacfb450305e5a42a0f1e4d7787d.tar.gz
vyos-1x-fe12cb8694c2eacfb450305e5a42a0f1e4d7787d.zip
Merge pull request #3000 from sever-sever/T5064
T5064: Firewall fix RegEx for for domain-group
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 662ba24ab..51c6f0e21 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>