capinfos: give another reason to process the IDBs at the end of the file.

Note that reason in a comment.
This commit is contained in:
Guy Harris 2020-10-21 01:57:33 -07:00
parent 93ea780e7c
commit 847046a773
1 changed files with 3 additions and 1 deletions

View File

@ -1324,7 +1324,9 @@ process_cap_file(const char *filename, gboolean need_separator)
/*
* Get IDB info strings.
* We do this at the end, so we can get information for all IDBs in
* the file, even those that come after packet records.
* the file, even those that come after packet records, and so that
* we get, for example, a count of the number of statistics entries
* for each interface as of the *end* of the file.
*/
idb_info = wtap_file_get_idb_info(cf_info.wth);