summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-26 07:54:37 +0100
committerChristian Poessinger <christian@poessinger.com>2020-10-26 07:54:37 +0100
commitad1c2f3bd7e47b19763e8bce1143614b906d3b5d (patch)
tree56f1b5613eda7624d9862336e14a86041515d750 /interface-definitions
parent9c83149664e5c7d59a60cd7c57a13901f02ebc75 (diff)
downloadvyos-1x-ad1c2f3bd7e47b19763e8bce1143614b906d3b5d.tar.gz
vyos-1x-ad1c2f3bd7e47b19763e8bce1143614b906d3b5d.zip
dhcp-server: xml: T3016: use constraintErrorMessage for subnet definition
(cherry picked from commit 6b9acd904d05460d2f02850e2535c4dc3e9933af)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dhcp-server.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml b/interface-definitions/dhcp-server.xml
index 87999f496..c05cb4e1d 100644
--- a/interface-definitions/dhcp-server.xml
+++ b/interface-definitions/dhcp-server.xml
@@ -87,6 +87,7 @@
<constraint>
<validator name="ipv4-prefix"/>
</constraint>
+ <constraintErrorMessage>Invalid IPv4 subnet definition</constraintErrorMessage>
</properties>
<children>
<leafNode name="bootfile-name">