]> The Tcpdump Group git mirrors - tcpdump/commitdiff
ETHERTYPE_IP will never show up as an NLPID in a Frame Relay packet, as
authorguy <guy>
Tue, 16 Jul 2002 04:09:27 +0000 (04:09 +0000)
committerguy <guy>
Tue, 16 Jul 2002 04:09:27 +0000 (04:09 +0000)
the NLPID is 1 byte and 0x800 doesn't fit in one byte.

print-fr.c

index 47eb3ea7d738c94097ba0ceaad828ef56c4b6eb2..7ac24b55f7edafc9af0cc30e7a62c69475fafd2c 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.2 2002-07-11 08:27:03 guy Exp $ (LBL)";
+       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.3 2002-07-16 04:09:27 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -254,7 +254,6 @@ fr_if_print(u_char *user, const struct pcap_pkthdr *h,
        switch (protocol) {
 
        case NLPID_IP:
-       case ETHERTYPE_IP:
                ip_print(p, length);
                break;