From bb77dd269bfb9522f5b56ac027598ac20e101f13 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Mon, 6 Dec 2021 15:09:36 +0000 Subject: sflow: T4046: Add source-address for sflow --- data/templates/netflow/uacctd.conf.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates/netflow/uacctd.conf.tmpl') diff --git a/data/templates/netflow/uacctd.conf.tmpl b/data/templates/netflow/uacctd.conf.tmpl index 1c183bb20..11fc76769 100644 --- a/data/templates/netflow/uacctd.conf.tmpl +++ b/data/templates/netflow/uacctd.conf.tmpl @@ -68,5 +68,8 @@ sfprobe_agentip[sf_{{ server['address'] }}]: {{ templatecfg['sflow']['agent-addr {% if templatecfg['sflow']['sampling-rate'] != none %} sampling_rate[sf_{{ server['address'] }}]: {{ templatecfg['sflow']['sampling-rate'] }} {% endif %} +{% if templatecfg['sflow']['source-address'] != none %} +sfprobe_source_ip[sf_{{ server['address'] }}]: {{ templatecfg['sflow']['source-address'] }} +{% endif %} {% endfor %} {% endif %} -- cgit v1.2.3