]> The Tcpdump Group git mirrors - tcpdump/commitdiff
forgot message log on last commit, sorry :-(
authorhannes <hannes>
Thu, 22 May 2003 14:31:36 +0000 (14:31 +0000)
committerhannes <hannes>
Thu, 22 May 2003 14:31:36 +0000 (14:31 +0000)
here we are:
- suppress printing the ethertype when encaps is 802.2

print-ether.c

index d78dfdf12a7694a73619183542ee1ec35429d6a1..9b1d85f0289b7fa8a63cc73445ceb16fe306f244 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.79 2003-05-22 14:24:31 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.80 2003-05-22 14:31:36 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -37,7 +37,6 @@ static const char rcsid[] =
 #include "ethertype.h"
 
 #include "ether.h"
-#include "extract.h"
 
 const u_char *snapend;
 
@@ -45,7 +44,6 @@ static inline void
 ether_hdr_print(register const u_char *bp, u_int length)
 {
        register const struct ether_header *ep;
-
        ep = (const struct ether_header *)bp;
 
        (void)printf("%s > %s",