From: chris Date: Tue, 7 Mar 2000 18:16:37 +0000 (+0000) Subject: Use ETHERTYPE_8021Q X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=09de83f4238d286e851c1532352cce744f3e3fda;p=openbsd Use ETHERTYPE_8021Q --- 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,