]> The Tcpdump Group git mirrors - tcpdump/commitdiff
do not auto-hexdump loopback packets as the payload is uninteresting
authorhannes <hannes>
Fri, 1 Jul 2005 16:15:59 +0000 (16:15 +0000)
committerhannes <hannes>
Fri, 1 Jul 2005 16:15:59 +0000 (16:15 +0000)
print-ether.c

index c845ae4d6a7183b362bd9f48550c7e0d72b5103b..4f04915c96df56e370f1a5d28412cc107aa35c98 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.96 2005-04-25 17:56:43 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.97 2005-07-01 16:15:59 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -296,7 +296,7 @@ ether_encap_print(u_short ether_type, const u_char *p,
                return (1);
 
         case ETHERTYPE_LOOPBACK:
-                return (0);
+                return (1);
 
        case ETHERTYPE_MPLS:
        case ETHERTYPE_MPLS_MULTI: