From fe7f40b6ee4f09bb204952bd051dfb64ca145152 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 13 Apr 2022 22:51:55 +0200 Subject: ids: fastnetmon: T4333: migrate to new vyos_defined Jinja2 test --- data/templates/ids/fastnetmon_networks_list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/ids/fastnetmon_networks_list.tmpl b/data/templates/ids/fastnetmon_networks_list.tmpl index d58990053..ab9add22c 100644 --- a/data/templates/ids/fastnetmon_networks_list.tmpl +++ b/data/templates/ids/fastnetmon_networks_list.tmpl @@ -1,4 +1,4 @@ -{% if network is string %} +{% if network is vyos_defined(var_type=str) %} {{ network }} {% else %} {% for net in network %} -- cgit v1.2.3