summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-13 22:51:55 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-13 22:51:55 +0200
commitfe7f40b6ee4f09bb204952bd051dfb64ca145152 (patch)
tree37d9f0ab07227a91d862026017a558e6b29147b2
parente8a637eec0cc398f78a877ece6b9c7cdca418970 (diff)
downloadvyos-1x-fe7f40b6ee4f09bb204952bd051dfb64ca145152.tar.gz
vyos-1x-fe7f40b6ee4f09bb204952bd051dfb64ca145152.zip
ids: fastnetmon: T4333: migrate to new vyos_defined Jinja2 test
-rw-r--r--data/templates/ids/fastnetmon_networks_list.tmpl2
1 files changed, 1 insertions, 1 deletions
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 %}