summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-26 07:50:04 +0100
committerChristian Poessinger <christian@poessinger.com>2020-10-26 07:50:04 +0100
commit6b9acd904d05460d2f02850e2535c4dc3e9933af (patch)
tree31483b86b01d9a1e07929f58f8dab0f7471d4e80
parentd69991eaa93d06335bdbd83b943d4655cc61acac (diff)
downloadvyos-1x-6b9acd904d05460d2f02850e2535c4dc3e9933af.tar.gz
vyos-1x-6b9acd904d05460d2f02850e2535c4dc3e9933af.zip
dhcp-server: xml: T3016: use constraintErrorMessage for subnet definition
-rw-r--r--interface-definitions/dhcp-server.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in
index ca8abc036..978118b31 100644
--- a/interface-definitions/dhcp-server.xml.in
+++ b/interface-definitions/dhcp-server.xml.in
@@ -87,6 +87,7 @@
<constraint>
<validator name="ipv4-prefix"/>
</constraint>
+ <constraintErrorMessage>Invalid IPv4 subnet definition</constraintErrorMessage>
</properties>
<children>
<leafNode name="bootfile-name">