ext/sflowtool/sflowtool.c in fluent-plugin-sflow-0.2.1 vs ext/sflowtool/sflowtool.c in fluent-plugin-sflow-0.3.0
- old
+ new
@@ -2498,10 +2498,10 @@
case PKTDIR_unknown: direction = "unknown"; break;
case PKTDIR_received: direction = "received"; break;
case PKTDIR_sent: direction = "sent"; break;
default: direction = "<bad value>"; break;
}
- sf_log(sample, "\"tcpinfo_direction\":\"%s\",", direction);
+ sf_log(sample, "tcpinfo_direction\":\"%s\",", direction);
sf_log_next32(sample, "tcpinfo_send_mss");
sf_log_next32(sample, "tcpinfo_receive_mss");
sf_log_next32(sample, "tcpinfo_unacked_pkts");
sf_log_next32(sample, "tcpinfo_lost_pkts");
sf_log_next32(sample, "tcpinfo_retrans_pkts");