summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-08-06 17:55:10 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-08-06 18:00:48 +0200
commitdbc682e40a0b3c93e3005d6b3d4e4c34965bba7d (patch)
treef111660a181313db436a4d224d1a440a47b77aff /interface-definitions/include
parent846e306700af191d22dc874992bbf5f04d2799c4 (diff)
downloadvyos-1x-dbc682e40a0b3c93e3005d6b3d4e4c34965bba7d.tar.gz
vyos-1x-dbc682e40a0b3c93e3005d6b3d4e4c34965bba7d.zip
nat: T2764: increase maximum rule number to 999999
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/nat-rule.xml.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/nat-rule.xml.i b/interface-definitions/include/nat-rule.xml.i
index f62a08987..a2d058479 100644
--- a/interface-definitions/include/nat-rule.xml.i
+++ b/interface-definitions/include/nat-rule.xml.i
@@ -2,13 +2,13 @@
<properties>
<help>Rule number for NAT</help>
<valueHelp>
- <format>1-9999</format>
+ <format>1-999999</format>
<description>Number for this NAT rule</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 1-9999"/>
+ <validator name="numeric" argument="--range 1-999999"/>
</constraint>
- <constraintErrorMessage>NAT rule number must be between 1 and 9999</constraintErrorMessage>
+ <constraintErrorMessage>NAT rule number must be between 1 and 999999</constraintErrorMessage>
</properties>
<children>
<leafNode name="description">