From 4df48d5713398800a74aae7f69932e9219a46f24 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 13 Apr 2022 22:53:44 +0200 Subject: conntrack: T4333: migrate to new vyos_defined Jinja2 test --- data/templates/conntrackd/conntrackd.op-mode.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates/conntrackd/conntrackd.op-mode.tmpl') 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 %} -- cgit v1.2.3