Wireshark-commits: [Wireshark-commits] rev 37832: /trunk/epan/ /trunk/epan/dissectors/: packet-eth.
Date: Wed, 29 Jun 2011 16:06:03 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37832

User: cmaynard
Date: 2011/06/29 09:06 AM

Log:
 Based on Guy's suggestion from the user mailing list, dissect Ethernet frames with a type/len field in the range of 1501-1535 as invalid, and add an expert info to make it that much easier to find such invalid frames.
 
 Also did some whitespace cleanup, converting tabs to spaces since most of the file was spaced, not tabbed, and swapped the order that the lg and ig bits get added to the tree because I think it looks better reading bits left-to-right.
 
 TODO: I'm not entirely sure what to do in capture_eth() if that invalid range is encountered, so for now I just added some #if 0'd code as a placeholder.
 
 Ref: http://www.wireshark.org/lists/wireshark-users/201106/msg00127.html

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +324 -271  packet-eth.c    Modified

Directory: /trunk/epan/
  Changes    Path          Action
  +8 -3      etypes.h      Modified