Unused debug info removed

This commit is contained in:
infokek 2024-08-20 13:36:06 +03:00
parent dcf6a338a3
commit e77e8abc18

View file

@ -496,9 +496,6 @@ static int logpkt_write_packet(logpkt_ctx_t *ctx,
CSA(&ctx->dst_addr), CSA(&ctx->src_addr), flags, CSA(&ctx->dst_addr), CSA(&ctx->src_addr), flags,
ctx->dst_seq, ctx->src_seq, payload, payloadlen); ctx->dst_seq, ctx->src_seq, payload, payloadlen);
} }
fprintf(stderr,
"DEBUG --- timestamp in logpkt_write_packet: %d.%d\n", ctx->timestamp_sec, ctx->timestamp_usec);
rv = logpkt_pcap_write(buf, sz, fd, ctx->timestamp_sec, ctx->timestamp_usec); rv = logpkt_pcap_write(buf, sz, fd, ctx->timestamp_sec, ctx->timestamp_usec);
if(rv == -1) { if(rv == -1) {