summaryrefslogtreecommitdiff
path: root/extcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-09 20:32:35 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-10 03:33:07 +0000
commit4233e9a680095384fc37f02b5ea96998be80b9c8 (patch)
tree588fcee237162916ce56a0593d86dc745b651050 /extcap.c
parentf928a5f5bf1b26092cb9e5b109a4cde1d6ba64cc (diff)
downloadwireshark-4233e9a680095384fc37f02b5ea96998be80b9c8.tar.gz
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>
Diffstat (limited to 'extcap.c')
0 files changed, 0 insertions, 0 deletions