diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-06 16:38:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 16:38:08 +0200 |
commit | a101f6d66a055e3cc45371cac3943d1ab9cb0232 (patch) | |
tree | d0d9b133d60e950d047c3f602395d90cf7349dfc /interface-definitions | |
parent | 15f48b521780a9a1116be85e848721f488e67a13 (diff) | |
parent | c514cea0ad94a00838530cd07f87723be372ea8f (diff) | |
download | vyos-1x-a101f6d66a055e3cc45371cac3943d1ab9cb0232.tar.gz vyos-1x-a101f6d66a055e3cc45371cac3943d1ab9cb0232.zip |
Merge pull request #1275 from sarthurdev/firewall_limit
firewall: T4345: Fix incorrect firewall rule limit rate format
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/firewall/common-rule.xml.i | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i index 353804990..cd80b7e28 100644 --- a/interface-definitions/include/firewall/common-rule.xml.i +++ b/interface-definitions/include/firewall/common-rule.xml.i @@ -66,11 +66,11 @@ <properties> <help>Maximum average matching rate</help> <valueHelp> - <format>u32:0-4294967295</format> - <description>Maximum average matching rate</description> + <format>txt</format> + <description>integer/unit (Example: 5/minute)</description> </valueHelp> <constraint> - <validator name="numeric" argument="--range 0-4294967295"/> + <regex>^\d+/(second|minute|hour|day)$</regex> </constraint> </properties> </leafNode> |