summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-16 12:24:15 +0200
committerGitHub <noreply@github.com>2020-08-16 12:24:15 +0200
commitfd830743cda009e13e3fb7a31f4ba895f5084f1b (patch)
tree2199d4063734b6bd9f3e42d0d0597cd9b0f037b2 /interface-definitions/include
parent910fc06cfd4160705f12d890ca6a6b8436326a67 (diff)
parentdbc682e40a0b3c93e3005d6b3d4e4c34965bba7d (diff)
downloadvyos-1x-fd830743cda009e13e3fb7a31f4ba895f5084f1b.tar.gz
vyos-1x-fd830743cda009e13e3fb7a31f4ba895f5084f1b.zip
Merge pull request #523 from jjakob/increase-max-nat-rule-number-T2764
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">