Wireshark-commits: [Wireshark-commits] rev 41132: /trunk/wiretap/ /trunk/wiretap/: pcapng.c

Date: Wed, 22 Feb 2012 03:03:34 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41132

User: guy
Date: 2012/02/21 07:03 PM

Log:
 Handle the case where there are no IDBs before the first non-SHB/non-IDB
 block, which could be the case even in a *valid* file (consider a file
 with an SHB, an NRB, an IDB, and a packet block, in that order); even if
 there's no IDB before the first packet block, that should be reported to
 the user as "interface N not less than interface count M", to more
 precisely indicate the problem.
 
 (Yes, the loop should probably keep going until it finds a packet block,
 not just a non-IDB block.)

Directory: /trunk/wiretap/
  Changes    Path          Action
  +4 -0      pcapng.c      Modified