summaryrefslogtreecommitdiffstats
path: root/print-ether.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-10-04 22:40:22 +0000
committerdelphij <delphij@FreeBSD.org>2012-10-04 22:40:22 +0000
commit69fe8a0033b22318969c85b57837b48863946665 (patch)
treec9eca0fdb327e86bea07fe747313f828731215ca /print-ether.c
parentd36dcecdb3228d24b199eb51cfd7ac666f5b8eb8 (diff)
downloadFreeBSD-src-69fe8a0033b22318969c85b57837b48863946665.zip
FreeBSD-src-69fe8a0033b22318969c85b57837b48863946665.tar.gz
Vendor import of tcpdump 4.3.0.
Diffstat (limited to 'print-ether.c')
-rw-r--r--print-ether.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/print-ether.c b/print-ether.c
index 7650572..e2f487c 100644
--- a/print-ether.c
+++ b/print-ether.c
@@ -37,7 +37,6 @@ static const char rcsid[] _U_ =
#include "extract.h"
#include "addrtoname.h"
#include "ethertype.h"
-
#include "ether.h"
const struct tok ethertype_values[] = {
@@ -84,6 +83,7 @@ const struct tok ethertype_values[] = {
{ ETHERTYPE_CFM_OLD, "CFM (old)" },
{ ETHERTYPE_CFM, "CFM" },
{ ETHERTYPE_LLDP, "LLDP" },
+ { ETHERTYPE_TIPC, "TIPC"},
{ 0, NULL}
};
@@ -408,6 +408,10 @@ ethertype_print(netdissect_options *ndo,
mpls_print(/*ndo,*/p, length);
return (1);
+ case ETHERTYPE_TIPC:
+ tipc_print(ndo, p, length, caplen);
+ return (1);
+
case ETHERTYPE_LAT:
case ETHERTYPE_SCA:
case ETHERTYPE_MOPRC:
OpenPOWER on IntegriCloud