summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/dscp.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/firewall/dscp.xml.i')
-rw-r--r--interface-definitions/include/firewall/dscp.xml.i6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-definitions/include/firewall/dscp.xml.i b/interface-definitions/include/firewall/dscp.xml.i
index 642212d7e..dd4da4894 100644
--- a/interface-definitions/include/firewall/dscp.xml.i
+++ b/interface-definitions/include/firewall/dscp.xml.i
@@ -11,8 +11,7 @@
<description>DSCP range to match</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-63"/>
- <validator name="range" argument="--min=0 --max=63"/>
+ <validator name="numeric" argument="--allow-range --range 0-63"/>
</constraint>
<multi/>
</properties>
@@ -29,8 +28,7 @@
<description>DSCP range not to match</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-63"/>
- <validator name="range" argument="--min=0 --max=63"/>
+ <validator name="numeric" argument="--allow-range --range 0-63"/>
</constraint>
<multi/>
</properties>