summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-ether.c
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2000-02-19 14:55:19 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2000-02-19 14:55:19 +0000
commitd2612e9b7dcd21d0b97375eb38d2cf7d545aed65 (patch)
treeeecd5c91a8b02e5504e55324e3a5f0ee7f052ccb /usr.sbin/tcpdump/print-ether.c
parentd1a47f5f2c94d4f56445934cf40ed06f276a11f2 (diff)
Remove bogus 802.1Q code
ok jakob@
Diffstat (limited to 'usr.sbin/tcpdump/print-ether.c')
-rw-r--r--usr.sbin/tcpdump/print-ether.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/tcpdump/print-ether.c b/usr.sbin/tcpdump/print-ether.c
index 35ae0605cff..d561cce4dc2 100644
--- a/usr.sbin/tcpdump/print-ether.c
+++ b/usr.sbin/tcpdump/print-ether.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ether.c,v 1.11 2000/02/18 14:39:35 jason Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ether.c,v 1.12 2000/02/19 14:55:18 chris Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -185,17 +185,6 @@ ether_encap_print(u_short ethertype, const u_char *p,
aarp_print(p, length);
return (1);
- case ETHERTYPE_VLAN:
- printf("802.1q");
- if (eflag) {
- printf(" %s %d",
- etherproto_string(ntohs(*(u_int16_t *)p)),
- length - 4);
- }
- printf(": ");
- ether_print(p + 4, length - 4);
- return (1);
-
#ifdef PPP
case ETHERTYPE_PPPOEDISC:
case ETHERTYPE_PPPOE: