diff options
author | delphij <delphij@FreeBSD.org> | 2012-10-04 22:40:22 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-10-04 22:40:22 +0000 |
commit | 69fe8a0033b22318969c85b57837b48863946665 (patch) | |
tree | c9eca0fdb327e86bea07fe747313f828731215ca /print-ether.c | |
parent | d36dcecdb3228d24b199eb51cfd7ac666f5b8eb8 (diff) | |
download | FreeBSD-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.c | 6 |
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: |