diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-10 21:42:23 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-01-10 21:42:23 +0100 |
commit | 062762154ae1e91394d5dc98385aa07dc200671c (patch) | |
tree | ec9829d2ca35b3d5f3aea96d2f73c44a1ac1cdf8 /data/templates | |
parent | 05b5d09ca70c5cc868f2108df4bcd3fcf6a7d865 (diff) | |
download | vyos-1x-062762154ae1e91394d5dc98385aa07dc200671c.tar.gz vyos-1x-062762154ae1e91394d5dc98385aa07dc200671c.zip |
conntrack: T3579: use "notrack" over "return" in nft statements
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/conntrack/nftables-ct-ignore.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/conntrack/nftables-ct-ignore.tmpl b/data/templates/conntrack/nftables-ct-ignore.tmpl index 59c1cb1d2..4ec133680 100644 --- a/data/templates/conntrack/nftables-ct-ignore.tmpl +++ b/data/templates/conntrack/nftables-ct-ignore.tmpl @@ -32,7 +32,7 @@ table raw { {% set nft_command = nft_command ~ ' ' ~ rule_config.protocol ~ ' sport { ' ~ rule_config.source.port ~ ' }' %} {% endif %} {% endif %} - {{ nft_command }} counter return comment ignore-{{ rule }} + {{ nft_command }} counter notrack comment ignore-{{ rule }} {% endfor %} {% endif %} return |