diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-31 09:10:57 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-31 09:10:57 +0100 |
commit | b468930a61d46bd33b52768f4c6f8b6ea28eed91 (patch) | |
tree | 69e085be617799070772f5c69f53d88ecc84d33a | |
parent | ad9289163aff39748555790158f4640888b46291 (diff) | |
download | vyos-1x-b468930a61d46bd33b52768f4c6f8b6ea28eed91.tar.gz vyos-1x-b468930a61d46bd33b52768f4c6f8b6ea28eed91.zip |
firewall: xml: T4100: increase maximum number of rules to 999999
-rw-r--r-- | interface-definitions/firewall.xml.in | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index f07c619a8..1f3c14208 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -214,7 +214,15 @@ #include <include/generic-description.xml.i> <tagNode name="rule"> <properties> - <help>Rule number (1-9999)</help> + <help>Firewall rule number (IPv6)</help> + <valueHelp> + <format>u32:1-999999</format> + <description>Number for this Firewall rule</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-999999"/> + </constraint> + <constraintErrorMessage>Firewall rule number must be between 1 and 999999</constraintErrorMessage> </properties> <children> #include <include/firewall/action.xml.i> @@ -582,7 +590,15 @@ #include <include/generic-description.xml.i> <tagNode name="rule"> <properties> - <help>Rule number (1-9999)</help> + <help>Firewall rule number (IPv4)</help> + <valueHelp> + <format>u32:1-999999</format> + <description>Number for this Firewall rule</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-999999"/> + </constraint> + <constraintErrorMessage>Firewall rule number must be between 1 and 999999</constraintErrorMessage> </properties> <children> #include <include/firewall/action.xml.i> |