summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-10-06 12:08:10 +0700
committerGitHub <noreply@github.com>2020-10-06 12:08:10 +0700
commit989d1f6a9603a8982647485162dfaa7c65e05f17 (patch)
tree6ac3801cfcd8598501b67f368de3fed09a95eceb
parent5accf7227858cde303e0c49f8c36408ef4c5fb93 (diff)
parent4d477c619c9692795e1ff106d4fee34cfef6506c (diff)
downloadvyos-1x-989d1f6a9603a8982647485162dfaa7c65e05f17.tar.gz
vyos-1x-989d1f6a9603a8982647485162dfaa7c65e05f17.zip
Merge pull request #564 from lucasec/doc-update
Update search domain error message to match new validation logic
-rw-r--r--interface-definitions/include/dhcp-server-domain-search.xml.i24
1 files changed, 12 insertions, 12 deletions
diff --git a/interface-definitions/include/dhcp-server-domain-search.xml.i b/interface-definitions/include/dhcp-server-domain-search.xml.i
index 8b76c4e70..9b3568b72 100644
--- a/interface-definitions/include/dhcp-server-domain-search.xml.i
+++ b/interface-definitions/include/dhcp-server-domain-search.xml.i
@@ -1,12 +1,12 @@
-<!-- included start from dhcp-server-domain-search.xml.i -->
-<leafNode name="domain-search">
- <properties>
- <help>Client Domain Name search list</help>
- <constraint>
- <validator name="fqdn"/>
- </constraint>
- <constraintErrorMessage>Invalid domain name (RFC 1123 section 2).\nMay only contain letters, numbers and .-_</constraintErrorMessage>
- <multi/>
- </properties>
-</leafNode>
-<!-- included end -->
+<!-- included start from dhcp-server-domain-search.xml.i -->
+<leafNode name="domain-search">
+ <properties>
+ <help>Client Domain Name search list</help>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ <constraintErrorMessage>Invalid domain name (RFC 1123 section 2).\nMay only contain letters, numbers, period, and underscore.</constraintErrorMessage>
+ <multi/>
+ </properties>
+</leafNode>
+<!-- included end -->