]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Juniper: Minus the Ethernet hdr length for -x/-X print (JUNIPER_ETHER)
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 28 Jul 2020 12:13:17 +0000 (14:13 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 28 Jul 2020 13:12:52 +0000 (15:12 +0200)
print-juniper.c

index e03cc1bbf164f76af31b23fea2bb35bda2e74171..0061b2ba113319bb2c5020e119f8bb40578fc9fa 100644 (file)
@@ -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