aboutsummaryrefslogtreecommitdiffstats
path: root/summary.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2008-10-14 22:55:16 +0000
committerGerald Combs <gerald@wireshark.org>2008-10-14 22:55:16 +0000
commitc99312dae0587939b3aae92bbb7bd4fc7a009800 (patch)
treec5bdaf0b2162ccf51c04625eefbe3005e71e3523 /summary.c
parent0367cd77680b39d2fab6c96910e9144b4f2b828f (diff)
Use a more accurate variable name for the wiretap file type. Add the file
encapsulation to the summary display. svn path=/trunk/; revision=26459
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/summary.c b/summary.c
index d6d774f809..9fc95c8d78 100644
--- 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);