summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-translation-port.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/nat-translation-port.xml.i')
-rw-r--r--interface-definitions/include/nat-translation-port.xml.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/include/nat-translation-port.xml.i b/interface-definitions/include/nat-translation-port.xml.i
index 6e507353c..6f17df3d9 100644
--- a/interface-definitions/include/nat-translation-port.xml.i
+++ b/interface-definitions/include/nat-translation-port.xml.i
@@ -10,6 +10,9 @@
<format>range</format>
<description>Numbered port range (e.g., 1001-1005)</description>
</valueHelp>
+ <constraint>
+ <validator name="port-range"/>
+ </constraint>
</properties>
</leafNode>
<!-- include end -->