X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/74b6e507b01e759cb51f8fb70591249e6fa31cd7..bbb40509692dc2dc06665c909ee6cb1327a40e79:/print-ether.c diff --git a/print-ether.c b/print-ether.c index e54c9d4e..08434b9a 100644 --- a/print-ether.c +++ b/print-ether.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.104 2007-07-23 09:01:09 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.105 2007-08-03 11:03:19 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -76,6 +76,7 @@ const struct tok ethertype_values[] = { { ETHERTYPE_GRE_ISO, "GRE-OSI" }, { ETHERTYPE_CFM_OLD, "CFM (old)" }, { ETHERTYPE_CFM, "CFM" }, + { ETHERTYPE_LLDP, "LLDP" }, { 0, NULL} }; @@ -314,6 +315,10 @@ ether_encap_print(u_short ether_type, const u_char *p, cfm_print(p, length); return (1); + case ETHERTYPE_LLDP: + lldp_print(p, length); + return (1); + case ETHERTYPE_LOOPBACK: return (1);