diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-06-01 11:53:18 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-06-11 15:08:45 +0200 |
commit | 8ba45cfcc1cc3fba57e1f82fa1299b7c253ba5ea (patch) | |
tree | 37068db2932e20ed4aec01329c9e60d16eb769ed /src/conf_mode/zone_policy.py | |
parent | fe18efba34c5d95d3052c9e6fda69668bbfe63f3 (diff) | |
download | vyos-1x-8ba45cfcc1cc3fba57e1f82fa1299b7c253ba5ea.tar.gz vyos-1x-8ba45cfcc1cc3fba57e1f82fa1299b7c253ba5ea.zip |
firewall: T4299: Add support for GeoIP filtering
Diffstat (limited to 'src/conf_mode/zone_policy.py')
-rwxr-xr-x | src/conf_mode/zone_policy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/zone_policy.py b/src/conf_mode/zone_policy.py index 070a4deea..a52c52706 100755 --- a/src/conf_mode/zone_policy.py +++ b/src/conf_mode/zone_policy.py @@ -155,7 +155,7 @@ def get_local_from(zone_policy, local_zone_name): def cleanup_commands(): commands = [] for table in ['ip filter', 'ip6 filter']: - json_str = cmd(f'nft -j list table {table}') + json_str = cmd(f'nft -t -j list table {table}') obj = loads(json_str) if 'nftables' not in obj: continue |