diff options
-rw-r--r-- | epan/dissectors/packet-eth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c index 8eb737d4be..6c1c720767 100644 --- a/epan/dissectors/packet-eth.c +++ b/epan/dissectors/packet-eth.c @@ -172,11 +172,10 @@ capture_eth(const guchar *pd, int offset, int len, packet_counts *ld) * frame; the dissector for those frames registers itself with * an ethernet type of ETHERTYPE_UNK. */ -#if 0 /* TODO */ if (etype > IEEE_802_3_MAX_LEN && etype < ETHERNET_II_MIN_LEN) { + ld->other++; return; } -#endif if (etype <= IEEE_802_3_MAX_LEN && etype != ETHERTYPE_UNK) { length = etype; |