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 /python | |
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 'python')
-rw-r--r-- | python/vyos/firewall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/firewall.py b/python/vyos/firewall.py index 55ce318e7..ff8623592 100644 --- a/python/vyos/firewall.py +++ b/python/vyos/firewall.py @@ -174,7 +174,7 @@ def parse_rule(rule_conf, fw_name, rule_id, ip_name): if 'limit' in rule_conf: if 'rate' in rule_conf['limit']: - output.append(f'limit rate {rule_conf["limit"]["rate"]}/second') + output.append(f'limit rate {rule_conf["limit"]["rate"]}') if 'burst' in rule_conf['limit']: output.append(f'burst {rule_conf["limit"]["burst"]} packets') |