summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-16 16:01:50 +0100
committerGitHub <noreply@github.com>2023-12-16 16:01:50 +0100
commit03202504d559417266e437bbf53eb26ade187c07 (patch)
tree3fdccb067cdda337cd04542ae9b609970521ede4 /interface-definitions
parente8282aa4f7e675d1189864799940c9a1b097601c (diff)
parent2b96bc8532b61be96cea92cc1c5468bd5fc3d968 (diff)
downloadvyos-1x-03202504d559417266e437bbf53eb26ade187c07.tar.gz
vyos-1x-03202504d559417266e437bbf53eb26ade187c07.zip
Merge pull request #2617 from indrajitr/ddclient-improvement-round-3-2023-12-11
ddclient: T5144,T5791: Fix migration to avoid config name conflict
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dns-dynamic.xml.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/dns-dynamic.xml.in b/interface-definitions/dns-dynamic.xml.in
index f089f0e52..388e7c5d2 100644
--- a/interface-definitions/dns-dynamic.xml.in
+++ b/interface-definitions/dns-dynamic.xml.in
@@ -19,6 +19,10 @@
<format>txt</format>
<description>Dynamic DNS service name</description>
</valueHelp>
+ <constraint>
+ #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
+ </constraint>
+ <constraintErrorMessage>Dynamic DNS service name must be alphanumeric and can contain hyphens and underscores</constraintErrorMessage>
</properties>
<children>
#include <include/generic-description.xml.i>