From c836d0685759a22fd25acb5c1b09f645df7bc797 Mon Sep 17 00:00:00 2001 From: rfaircloth-splunk Date: Tue, 7 Apr 2020 20:48:39 -0400 Subject: [PATCH] Update source_network.t --- package/etc/go_templates/source_network.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/etc/go_templates/source_network.t b/package/etc/go_templates/source_network.t index 6d7a6d3..63ec329 100644 --- a/package/etc/go_templates/source_network.t +++ b/package/etc/go_templates/source_network.t @@ -24,7 +24,7 @@ source s_{{ .port_id }} { source { {{- if or (getenv (print "SC4S_LISTEN_" .port_id "_UDP_PORT")) (eq .port_id "DEFAULT") }} {{- $port_id := .port_id }} -{{- range (math.Seq (getenv "SC4S_SOURCE_LISTEN_UDP_SOCKETS" "5"))}} +{{- range (math.Seq (getenv "SC4S_SOURCE_LISTEN_UDP_SOCKETS" "1"))}} {{- $context := dict "instance" . "port_id" $port_id }} {{- template "UDP" $context }} {{- end}}