From: Francois-Xavier Le Bail Date: Tue, 28 Jul 2020 12:13:17 +0000 (+0200) Subject: Juniper: Minus the Ethernet hdr length for -x/-X print (JUNIPER_ETHER) X-Git-Tag: tcpdump-4.99-bp~309 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/caa364c8ca97f9a338dd7edba4c45b0d65bd90e8 Juniper: Minus the Ethernet hdr length for -x/-X print (JUNIPER_ETHER) --- diff --git a/print-juniper.c b/print-juniper.c index e03cc1bb..0061b2ba 100644 --- a/print-juniper.c +++ b/print-juniper.c @@ -730,7 +730,7 @@ juniper_ether_if_print(netdissect_options *ndo, p+=l2info.header_len; /* this DLT contains nothing but raw Ethernet frames */ - ether_print(ndo, p, l2info.length, l2info.caplen, NULL, NULL, FALSE); + ether_print(ndo, p, l2info.length, l2info.caplen, NULL, NULL, TRUE); ndo->ndo_ll_hdr_len += l2info.header_len; } #endif