Wireshark-commits: [Wireshark-commits] rev 54949: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Fri, 24 Jan 2014 20:19:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54949

User: wmeier
Date: 2014/01/24 08:19 PM

Log:
 Rework and simplify the code to follow the principle of "dissect as
  much as possible" rather than dissecting nothing if the length of a
  set of fields (e.g., a "command") seems wrong or if an exception
  occurs fetching data before previous fields have been displayed.
 In general: just fetch/dissect from start to end: If there is missing
    data, a Wireshark exception will eventually occur;
 
 Add lwm subtrees under the lwm protocol tree (*not* as protocols
  under the top (outermost) tree.
 
 Fix a bug which caused an exception to be reported as:
  "[Packet size limited during capture: LwMesh truncated]"
  rather than as the correct: "[Malformed...]"
 
 col_...() and expert...() functions shouldn't be called under 'if(tree)';
 
 Register the heuristic dissector using "IEEE802154_PROTOABBREV_WPAN"
  (like certain other dissectors) rather than using "wpan";
 
 missmatch --> mismatch
 
 Fix some long lines.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +258 -381  packet-lwm.c    Modified