diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:53:44 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:55:46 +0200 |
commit | 4df48d5713398800a74aae7f69932e9219a46f24 (patch) | |
tree | 97e8ddbb8116f4973925ac4387245a1a8926ce70 /data/templates/conntrackd/conntrackd.op-mode.tmpl | |
parent | f5dc3db1fb62a51b80eeb635e91e38d28c0fe291 (diff) | |
download | vyos-1x-4df48d5713398800a74aae7f69932e9219a46f24.tar.gz vyos-1x-4df48d5713398800a74aae7f69932e9219a46f24.zip |
conntrack: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/conntrackd/conntrackd.op-mode.tmpl')
-rw-r--r-- | data/templates/conntrackd/conntrackd.op-mode.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/conntrackd/conntrackd.op-mode.tmpl b/data/templates/conntrackd/conntrackd.op-mode.tmpl index 82a4b09ad..c3f6911ce 100644 --- a/data/templates/conntrackd/conntrackd.op-mode.tmpl +++ b/data/templates/conntrackd/conntrackd.op-mode.tmpl @@ -1,5 +1,5 @@ Source Destination Protocol -{% for parsed in data if parsed.flow is defined and parsed.flow.meta is defined %} +{% for parsed in data if parsed.flow.meta is vyos_defined %} {% for key in parsed.flow.meta %} {% if key['@direction'] == 'original' %} {% set saddr = key.layer3.src | bracketize_ipv6 %} |