From febaec6eed1618465c7f1073b37c7504240c4e81 Mon Sep 17 00:00:00 2001 From: "Maxime.L" Date: Mon, 4 Sep 2023 12:14:51 +0200 Subject: T5545: fix sflow configuration --- data/templates/netflow/uacctd.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/templates/netflow/uacctd.conf.tmpl b/data/templates/netflow/uacctd.conf.tmpl index 1ee65a28e..a7d027048 100644 --- a/data/templates/netflow/uacctd.conf.tmpl +++ b/data/templates/netflow/uacctd.conf.tmpl @@ -30,7 +30,7 @@ plugins: {% if templatecfg['netflow']['servers'] != none %} {% for server in templatecfg['sflow']['servers'] %},sfprobe[sf_{{ server['address'] }}]{% endfor %} {% else %} {% for server in templatecfg['sflow']['servers'] %} -{% if loop.last %}sfprobe[sf_{{ server['address'] }}]{% else %}sfprobe[sf_{{ server['address'] }}],{% endif %} +{% if loop.last %}sfprobe[sf_{{ server['address'] | dot_colon_to_dash }}]{% else %}sfprobe[sf_{{ server['address'] | dot_colon_to_dash }}],{% endif %} {% endfor %} {% endif %} {% set plugins_presented = true %} -- cgit v1.2.3