aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-10-21 01:57:33 -0700
committerGuy Harris <gharris@sonic.net>2020-10-21 01:57:33 -0700
commit847046a7737330af23dc5f6327c169b62eeb02a4 (patch)
tree9b931b75b44ef872b03e7c8aada98dfac06c048a /capinfos.c
parent93ea780e7ce2f490ff442db5abc9253e4b7d8e03 (diff)
capinfos: give another reason to process the IDBs at the end of the file.
Note that reason in a comment.
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/capinfos.c b/capinfos.c
index 719659a4a6..5536766d17 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -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);