summaryrefslogtreecommitdiff
path: root/src/conf_mode/zone_policy.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 20:20:59 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 20:20:59 +0200
commit1b80aec26798ebfbbfd257d3899c074d7d65ebb0 (patch)
treed51799499510033946bf72fe9e07e8ee90b15fb0 /src/conf_mode/zone_policy.py
parente3c657e9f4d85b691ad9e95d302d4c209e1386fa (diff)
downloadvyos-1x-1b80aec26798ebfbbfd257d3899c074d7d65ebb0.tar.gz
vyos-1x-1b80aec26798ebfbbfd257d3899c074d7d65ebb0.zip
firewall: zone: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/zone_policy.py')
-rwxr-xr-xsrc/conf_mode/zone_policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/zone_policy.py b/src/conf_mode/zone_policy.py
index dc0617353..070a4deea 100755
--- a/src/conf_mode/zone_policy.py
+++ b/src/conf_mode/zone_policy.py
@@ -192,7 +192,7 @@ def generate(zone_policy):
if 'local_zone' in zone_conf:
zone_conf['from_local'] = get_local_from(data, zone)
- render(nftables_conf, 'zone_policy/nftables.tmpl', data)
+ render(nftables_conf, 'zone_policy/nftables.j2', data)
return None
def apply(zone_policy):