We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ccbd8f commit ac5fa79Copy full SHA for ac5fa79
plugins/in_snmp/in_snmp.c
@@ -379,9 +379,7 @@ static int in_snmp_init(struct flb_input_instance *in,
379
snmp_sess_init(&ctx->session);
380
381
{
382
- flb_plg_error(ctx->ins, "target_port : %d", ctx->target_port);
383
-
384
- /* compose peername by using target_host and port */
+ /* compose peername by using target_host and target_port */
385
size_t host_len = strlen(ctx->target_host);
386
int port_len = snprintf(NULL, 0, "%d", ctx->target_port);
387
size_t static_len = strlen("udp::"); // "udp:" + ":"
@@ -399,7 +397,6 @@ static int in_snmp_init(struct flb_input_instance *in,
399
397
flb_free(ctx);
400
398
return -1;
401
}
402
- flb_plg_error(ctx->ins, "peer : %s", peer);
403
404
ctx->session.peername = peer;
405
0 commit comments