summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ether.c
diff options
context:
space:
mode:
authorchris <chris@openbsd.org>2000-03-07 18:16:37 +0000
committerchris <chris@openbsd.org>2000-03-07 18:16:37 +0000
commit09de83f4238d286e851c1532352cce744f3e3fda (patch)
treeeba6af53e53f1bf93662bab474f83f9d7e508b60 /usr.sbin/tcpdump/print-ether.c
parentadd ETHERTYPE_8021Q (diff)
downloadwireguard-openbsd-09de83f4238d286e851c1532352cce744f3e3fda.tar.xz
wireguard-openbsd-09de83f4238d286e851c1532352cce744f3e3fda.zip
Use ETHERTYPE_8021Q
Diffstat (limited to 'usr.sbin/tcpdump/print-ether.c')
-rw-r--r--usr.sbin/tcpdump/print-ether.c4
1 files 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 <sys/param.h>
@@ -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,