From: hannes Date: Fri, 12 Jul 2002 20:22:11 +0000 (+0000) Subject: "support" for the loopback ethertype 0x9000 X-Git-Tag: tcpdump-3.8-bp~439 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/54e26228a188aee83419b8bee5f09543ca2b17fd "support" for the loopback ethertype 0x9000 --- diff --git a/print-ether.c b/print-ether.c index 8ac9487b..79095076 100644 --- a/print-ether.c +++ b/print-ether.c @@ -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);