Add additional Type->Name associations: Now we can roughly
[obnox/wireshark/wip.git] / summary.c
index d6d774f809f0cdbc6c053a2426014c36e0d0c982..9fc95c8d78ca21f6d64134179d6440854722fe93 100644 (file)
--- a/summary.c
+++ b/summary.c
@@ -120,7 +120,8 @@ summary_fill_in(capture_file *cf, summary_tally *st)
 
   st->filename = cf->filename;
   st->file_length = cf->f_datalen;
-  st->encap_type = cf->cd_t;
+  st->file_type = cf->cd_t;
+  st->encap_type = cf->lnk_t;
   st->has_snap = cf->has_snap;
   st->snap = cf->snap;
   st->elapsed_time = nstime_to_sec(&cf->elapsed_time);