From 09de83f4238d286e851c1532352cce744f3e3fda Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 7 Mar 2000 18:16:37 +0000 Subject: [PATCH] Use ETHERTYPE_8021Q --- usr.sbin/tcpdump/print-ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/tcpdump/print-ether.c b/usr.sbin/tcpdump/print-ether.c index d5bb7e5bfe8..1a1afed6f19 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: /home/cvs/src/usr.sbin/tcpdump/print-ether.c,v 1.13 2000/03/07 16:50:42 chris Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ether.c,v 1.14 2000/03/07 18:16:37 chris Exp $ (LBL)"; #endif #include @@ -185,7 +185,7 @@ recurse: aarp_print(p, length); return (1); - case ETHERTYPE_VLAN: + case ETHERTYPE_8021Q: printf("802.1Q vid %d pri %d%s", ntohs(*(unsigned short*)p)&0xFFF, ntohs(*(unsigned short*)p)>>13, -- 2.20.1