summaryrefslogtreecommitdiff
path: root/interface-definitions/include/port-number.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-17 09:57:53 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-17 09:57:53 +0200
commit61170a4e644e04eb60f404c34abd1171736601e1 (patch)
tree63b55a74e6fabe26028c0a1c69b5274adaeeffe3 /interface-definitions/include/port-number.xml.i
parent520d2fb73670cfaa378164896d6993a03893f2b8 (diff)
downloadvyos-1x-61170a4e644e04eb60f404c34abd1171736601e1.tar.gz
vyos-1x-61170a4e644e04eb60f404c34abd1171736601e1.zip
xml: include: add error message to port-number
Diffstat (limited to 'interface-definitions/include/port-number.xml.i')
-rw-r--r--interface-definitions/include/port-number.xml.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/include/port-number.xml.i b/interface-definitions/include/port-number.xml.i
index b62aef32b..6820df0c4 100644
--- a/interface-definitions/include/port-number.xml.i
+++ b/interface-definitions/include/port-number.xml.i
@@ -9,6 +9,7 @@
<constraint>
<validator name="numeric" argument="--range 1-65535"/>
</constraint>
+ <constraintErrorMessage>Port number must be in range 1 to 65535</constraintErrorMessage>
</properties>
</leafNode>
<!-- include end -->