diff options
author | Maxime.L <maxime@nfrance.com> | 2023-09-04 12:14:51 +0200 |
---|---|---|
committer | Maxime.L <maxime@nfrance.com> | 2023-09-04 12:14:51 +0200 |
commit | febaec6eed1618465c7f1073b37c7504240c4e81 (patch) | |
tree | 45c4564cde4fd193b462440a05395b1576211daa /data/templates | |
parent | e74b38c4d862feed7a401723c1f0b1c9d9a03324 (diff) | |
download | vyos-1x-febaec6eed1618465c7f1073b37c7504240c4e81.tar.gz vyos-1x-febaec6eed1618465c7f1073b37c7504240c4e81.zip |
T5545: fix sflow configuration
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/netflow/uacctd.conf.tmpl | 2 |
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 %} |