Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 25388: /trunk/wiretap/ /trunk/wiretap/: iseries.c

Date: Wed, 28 May 2008 15:01:20 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25388

User: morriss
Date: 2008/05/28 08:01 AM

Log:
 Always set pkt_encap, not just when we have the start date.  This bug, around
 since rev 17756, meant that attempts to read iSeries files would fail in the
 "Make sure it [pkt_encap] is not WTAP_ENCAP_PER_PACKET" assertion in
 wtap_read().
 
 Also set file_encap to WTAP_ENCAP_ETHERNET (instead of WTAP_ENCAP_PER_PACKET)
 since it seems that all the packets in iSeries files are Ethernet (or at least
 this module currently only supports Ethernet).

Directory: /trunk/wiretap/
  Changes    Path          Action
  +6 -5      iseries.c     Modified