summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/rule-frontend.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/haproxy/rule-frontend.xml.i')
-rw-r--r--interface-definitions/include/haproxy/rule-frontend.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/haproxy/rule-frontend.xml.i b/interface-definitions/include/haproxy/rule-frontend.xml.i
index 001ae2d80..aeee1202e 100644
--- a/interface-definitions/include/haproxy/rule-frontend.xml.i
+++ b/interface-definitions/include/haproxy/rule-frontend.xml.i
@@ -47,7 +47,7 @@
<properties>
<help>Backend name</help>
<constraint>
- <regex>[-_a-zA-Z0-9]+</regex>
+ #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
</constraint>
<constraintErrorMessage>Server name must be alphanumeric and can contain hyphen and underscores</constraintErrorMessage>
</properties>