Wireshark-commits: [Wireshark-commits] rev 49812: /trunk/wiretap/ /trunk/wiretap/: visual.c

Date: Thu, 06 Jun 2013 18:57:22 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49812

User: guy
Date: 2013/06/06 11:57 AM

Log:
 Pull all the code that reads and processes the packet header into
 visual_process_packet_header() and call it in both the read and
 seek-read routines.
 
 Pull the post-processing code that guesses the encapsulation based on
 the first few bytes in the packet into
 visual_fill_in_chdlc_encapsulation() and call it in both the read and
 seek-routines.  Add some length checks.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +279 -263  visual.c      Modified