diff options
| author | Vivien Didelot <vivien.didelot@gmail.com> | 2019-04-06 16:49:10 -0400 |
|---|---|---|
| committer | Vivien Didelot <vivien.didelot@gmail.com> | 2019-04-16 12:27:08 -0400 |
| commit | d5c16b1668fef7011a239c216d07024136cc49e7 (patch) | |
| tree | 2a8c88b827efd4519520e9f002ae72ba897ec5a9 /print-ether.c | |
| parent | 43b5720499c61039c2a8890a73fca10333428f2e (diff) | |
| download | tcpdump-d5c16b1668fef7011a239c216d07024136cc49e7.tar.gz | |
Remove MEDSA ethertype printer
MEDSA (which unofficially stands for Marvell EDSA) relies on the
unregistered 0xDADA ethertype value that was randomly choosen and
currently used by the kernel. But with EDSA this value is programmable,
hence can be changed anytime.
Now that a reliable DLT parser is implemented for both DSA and EDSA
tagged master interfaces, let's get rid for the MEDSA ethertype parser.
Diffstat (limited to 'print-ether.c')
| -rw-r--r-- | print-ether.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/print-ether.c b/print-ether.c index 8382e1ee..5d6fded2 100644 --- a/print-ether.c +++ b/print-ether.c @@ -100,7 +100,6 @@ const struct tok ethertype_values[] = { { ETHERTYPE_GEONET, "GeoNet"}, { ETHERTYPE_CALM_FAST, "CALM FAST"}, { ETHERTYPE_AOE, "AoE" }, - { ETHERTYPE_MEDSA, "MEDSA" }, { 0, NULL} }; @@ -493,10 +492,6 @@ ethertype_print(netdissect_options *ndo, aoe_print(ndo, p, length); return (1); - case ETHERTYPE_MEDSA: - medsa_print(ndo, p, length, caplen, src, dst); - return (1); - case ETHERTYPE_LAT: case ETHERTYPE_SCA: case ETHERTYPE_MOPRC: |
