Don't assume all IDBs are available aftre we open the file.
authorGuy Harris <guy@alum.mit.edu>
Fri, 10 Jun 2016 03:32:35 +0000 (20:32 -0700)
committerGuy Harris <guy@alum.mit.edu>
Fri, 10 Jun 2016 03:33:07 +0000 (03:33 +0000)
commit4233e9a680095384fc37f02b5ea96998be80b9c8
tree588fcee237162916ce56a0593d86dc745b651050
parentf928a5f5bf1b26092cb9e5b109a4cde1d6ba64cc
Don't assume all IDBs are available aftre we open the file.

IDBs can occur anywhere in the file, so if we see an interface ID bigger
than the number of IDBs we've see, re-fetch the interface information,
update the IDB count, and grow the packet count array as necessary.

Get the information strings for interfaces after reading the entire
file; we don't need them until then.

Change-Id: Ib6096e481e321de485710d14eadf7b5232bf0be7
Reviewed-on: https://code.wireshark.org/review/15797
Reviewed-by: Guy Harris <guy@alum.mit.edu>
capinfos.c