diff options
-rw-r--r-- | netsniff-ng.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index 984f9ca..05d1267 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -981,7 +981,8 @@ static void recv_only_or_dump(struct ctx *ctx) panic("Write error to pcap!\n"); } - show_frame_hdr(hdr, ctx->print_mode); + show_frame_hdr(packet, hdr->tp_h.tp_snaplen, + ctx->link_type, hdr, ctx->print_mode); dissector_entry_point(packet, hdr->tp_h.tp_snaplen, ctx->link_type, ctx->print_mode); |