summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-05 07:22:09 +0200
committerGitHub <noreply@github.com>2023-09-05 07:22:09 +0200
commit68aac9a42f6dbbdd41bf6ba514cf83f660b1e7e5 (patch)
tree45c4564cde4fd193b462440a05395b1576211daa
parente74b38c4d862feed7a401723c1f0b1c9d9a03324 (diff)
parentfebaec6eed1618465c7f1073b37c7504240c4e81 (diff)
downloadvyos-1x-68aac9a42f6dbbdd41bf6ba514cf83f660b1e7e5.tar.gz
vyos-1x-68aac9a42f6dbbdd41bf6ba514cf83f660b1e7e5.zip
Merge pull request #2198 from mlk-89/equuleus
T5545: fix sflow configuration
-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 %}