summaryrefslogtreecommitdiff
path: root/interface-definitions/bcast-relay.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/bcast-relay.xml')
-rw-r--r--interface-definitions/bcast-relay.xml16
1 files changed, 11 insertions, 5 deletions
diff --git a/interface-definitions/bcast-relay.xml b/interface-definitions/bcast-relay.xml
index e4a009ed4..19f29e340 100644
--- a/interface-definitions/bcast-relay.xml
+++ b/interface-definitions/bcast-relay.xml
@@ -14,11 +14,13 @@
<properties>
<help>Unique ID for each UDP port to forward</help>
<valueHelp>
- <format>u32:1-99</format>
+ <format>1-99</format>
<description>Numerical ID #</description>
</valueHelp>
- <type>u32</type>
<priority>990</priority>
+ <constraint>
+ <validator name="numeric" argument="--range 1-99"/>
+ </constraint>
</properties>
<children>
<leafNode name="address">
@@ -28,7 +30,9 @@
<format>ipv4</format>
<description>Optional source address for forwarded packets</description>
</valueHelp>
- <type>ipv4</type>
+ <constraint>
+ <validator name="ipv4"/>
+ </constraint>
</properties>
</leafNode>
<leafNode name="description">
@@ -49,10 +53,12 @@
<properties>
<help>Destination or source port to listen and retransmit on [REQUIRED]</help>
<valueHelp>
- <format>u32:1-65535</format>
+ <format>1-65535</format>
<description>UDP port to listen on</description>
</valueHelp>
- <type>u32</type>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
</properties>
</leafNode>
</children>