Skip to content

Commit

Permalink
Update source_network.t
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed May 13, 2020
1 parent ab1d479 commit f07ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/etc/go_templates/source_network.t
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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 split (getenv (print "SC4S_LISTEN_" .port_id "_TCP_PORT") "514") "," }}
{{- range split (getenv (print "SC4S_LISTEN_" .port_id "_UDP_PORT") "514") "," }}
{{- $context := dict "port" . "port_id" $port_id }}
{{- template "UDP" $context }}
{{- end}}
Expand Down

0 comments on commit f07ff23

Please sign in to comment.