Skip to content

Commit

Permalink
out_tcp: set network defaults to 127.0.0.1:5170
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jul 10, 2019
1 parent 0ef6177 commit 9941bab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/out_tcp/tcp_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ struct flb_out_tcp *flb_tcp_conf_create(struct flb_output_instance *ins,
return NULL;
}

/* Set default network configuration if not set */
flb_output_net_default("127.0.0.1", 5170, ins);

/* Check if SSL/TLS is enabled */
#ifdef FLB_HAVE_TLS
if (ins->use_tls == FLB_TRUE) {
Expand Down

0 comments on commit 9941bab

Please sign in to comment.