]> The Tcpdump Group git mirrors - tcpdump/commitdiff
"support" for the loopback ethertype 0x9000
authorhannes <hannes>
Fri, 12 Jul 2002 20:22:11 +0000 (20:22 +0000)
committerhannes <hannes>
Fri, 12 Jul 2002 20:22:11 +0000 (20:22 +0000)
print-ether.c

index 8ac9487b8f6448c2538a044a47f9c6629c36a509..7909507650d7278b26951993b7f98a7eb64c450f 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.70 2002-06-11 17:08:45 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.71 2002-07-12 20:22:11 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -249,6 +249,10 @@ ether_encap_print(u_short ethertype, const u_char *p,
                }
                return (1);
 
+        case ETHERTYPE_LOOPBACK:
+                printf("loopback");
+                return (1);
+
        case ETHERTYPE_MPLS:
        case ETHERTYPE_MPLS_MULTI:
                mpls_print(p, length);