diff options
author | 2008-10-16 12:57:01 +0000 | |
---|---|---|
committer | 2008-10-16 12:57:01 +0000 | |
commit | 3b63b2bcf975f91c6cec412a1dacdfa09ddf6237 (patch) | |
tree | d8da4be44ea9cdc81781d30b5912a4454a8784f5 /usr.sbin/tcpdump/print-ether.c | |
parent | Make the session id unique per receiving interface so that pppoe (diff) | |
download | wireguard-openbsd-3b63b2bcf975f91c6cec412a1dacdfa09ddf6237.tar.xz wireguard-openbsd-3b63b2bcf975f91c6cec412a1dacdfa09ddf6237.zip |
Add support for IEEE "slow protocols" LACP, MARKER as per 802.3ad.
Code from tcpdump.org with cleanup and shrinkage by me.
Help and ideas for extra sanity checks from canacar@
OK canacar@
Diffstat (limited to 'usr.sbin/tcpdump/print-ether.c')
-rw-r--r-- | usr.sbin/tcpdump/print-ether.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-ether.c b/usr.sbin/tcpdump/print-ether.c index 37014d11b68..aad24160c78 100644 --- a/usr.sbin/tcpdump/print-ether.c +++ b/usr.sbin/tcpdump/print-ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-ether.c,v 1.23 2007/10/07 16:41:05 deraadt Exp $ */ +/* $OpenBSD: print-ether.c,v 1.24 2008/10/16 12:57:01 mpf Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -22,7 +22,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Id: print-ether.c,v 1.23 2007/10/07 16:41:05 deraadt Exp $ (LBL)"; + "@(#) $Id: print-ether.c,v 1.24 2008/10/16 12:57:01 mpf Exp $ (LBL)"; #endif #include <sys/param.h> @@ -250,6 +250,10 @@ recurse: lldp_print(p, length); return (1); + case ETHERTYPE_SLOW: + slow_print(p, length); + return (1); + case ETHERTYPE_LAT: case ETHERTYPE_SCA: case ETHERTYPE_MOPRC: |