summaryrefslogtreecommitdiff
path: root/src/conf_mode/conntrack.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 18:36:34 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 18:36:34 +0200
commit2f507669fd7f7fc9c00ae2302c4f062c48e24706 (patch)
treecf2d6803318b2e6245f60ae94cea9b2e49b082bc /src/conf_mode/conntrack.py
parent578ce55e56882062953e37d51e2c1cbebd437e35 (diff)
downloadvyos-1x-2f507669fd7f7fc9c00ae2302c4f062c48e24706.tar.gz
vyos-1x-2f507669fd7f7fc9c00ae2302c4f062c48e24706.zip
conntrack: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/conntrack.py')
-rwxr-xr-xsrc/conf_mode/conntrack.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/conntrack.py b/src/conf_mode/conntrack.py
index aabf2bdf5..82289526f 100755
--- a/src/conf_mode/conntrack.py
+++ b/src/conf_mode/conntrack.py
@@ -101,9 +101,9 @@ def verify(conntrack):
return None
def generate(conntrack):
- render(conntrack_config, 'conntrack/vyos_nf_conntrack.conf.tmpl', conntrack)
- render(sysctl_file, 'conntrack/sysctl.conf.tmpl', conntrack)
- render(nftables_ct_file, 'conntrack/nftables-ct.tmpl', conntrack)
+ render(conntrack_config, 'conntrack/vyos_nf_conntrack.conf.j2', conntrack)
+ render(sysctl_file, 'conntrack/sysctl.conf.j2', conntrack)
+ render(nftables_ct_file, 'conntrack/nftables-ct.j2', conntrack)
# dry-run newly generated configuration
tmp = run(f'nft -c -f {nftables_ct_file}')