]> The Tcpdump Group git mirrors - tcpdump/commitdiff
(ether_encap_print): add ETHERTYPE_IPX: From Jeffrey Hutzelman
authorassar <assar>
Sat, 10 Jun 2000 13:49:52 +0000 (13:49 +0000)
committerassar <assar>
Sat, 10 Jun 2000 13:49:52 +0000 (13:49 +0000)
<[email protected]>

print-ether.c

index 5050fef3d060398502227164b7f18a198ec4faf5..bd2a7b7b48964a1b0163006a1e3221a91756ea07 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.49 2000-04-28 11:38:38 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.50 2000-06-10 13:49:52 assar Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -198,6 +198,10 @@ ether_encap_print(u_short ethertype, const u_char *p,
                aarp_print(p, length);
                return (1);
 
+       case ETHERTYPE_IPX:
+               ipx_print(p, length);
+               return (1);
+
        case ETHERTYPE_8021Q:
                printf("802.1Q vlan#%d P%d%s",
                       ntohs(*(u_int16_t *)p) & 0xfff,