From 930ecf536c19ee5d9eeb71e8ab7baf176fc751c3 Mon Sep 17 00:00:00 2001 From: Paul Traina Date: Mon, 19 Aug 1996 21:35:13 +0000 Subject: [PATCH] Decode maximumim sized ethernet frames properly --- contrib/tcpdump/print-ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/tcpdump/print-ether.c b/contrib/tcpdump/print-ether.c index b2a1644b112..e6820c17ce7 100644 --- a/contrib/tcpdump/print-ether.c +++ b/contrib/tcpdump/print-ether.c @@ -116,7 +116,7 @@ ether_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p) * Is it (gag) an 802.3 encapsulation? */ extracted_ethertype = 0; - if (ether_type < ETHERMTU) { + if (ether_type <= ETHERMTU) { /* Try to print the LLC-layer header & higher layers */ if (llc_print(p, length, caplen, ESRC(ep), EDST(ep)) == 0) { /* ether_type not known, print raw packet */