Fix mismatched call arguments, thanks to @disaykin

This commit is contained in:
Soner Tari 2023-05-18 00:32:13 +03:00
parent 94fed777d4
commit 3048f95485

View File

@ -559,7 +559,7 @@ logpkt_write_packet(logpkt_ctx_t *ctx, int fd, int direction, char flags,
payload, payloadlen);
} else {
rv = logpkt_mirror_build(ctx->libnet,
ctx->src_ether, ctx->dst_ether,
ctx->dst_ether, ctx->src_ether,
CSA(&ctx->dst_addr),
CSA(&ctx->src_addr),
flags,