summaryrefslogtreecommitdiff
path: root/interface-definitions/netns.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/netns.xml.in')
-rw-r--r--interface-definitions/netns.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/netns.xml.in b/interface-definitions/netns.xml.in
index 80de805fb..088985cb6 100644
--- a/interface-definitions/netns.xml.in
+++ b/interface-definitions/netns.xml.in
@@ -10,7 +10,7 @@
<properties>
<help>Network namespace name</help>
<constraint>
- <regex>^[a-zA-Z0-9-_]{1,100}</regex>
+ <regex>[a-zA-Z0-9-_]{1,100}</regex>
</constraint>
<constraintErrorMessage>Netns name must be alphanumeric and can contain hyphens and underscores.</constraintErrorMessage>
</properties>