summaryrefslogtreecommitdiff
path: root/data/templates/netflow
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/netflow')
-rw-r--r--data/templates/netflow/uacctd.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
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 %}