aboutsummaryrefslogtreecommitdiffstats
path: root/summary.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-05-24 05:05:29 +0000
committerGuy Harris <guy@alum.mit.edu>2012-05-24 05:05:29 +0000
commitcf6d9841e37906448ad1a571a648140325efcae0 (patch)
tree8e14522dbdae5295fd41a236e7f9e49daab36c4e /summary.c
parent73888ed977e7ba3356d3c5e31c182508d576dfc1 (diff)
Keep track, in Wiretap, of whether the file is compressed, and provide
an API to fetch that. When doing "Save" on a compressed file, write it out compressed. In the Statistics -> Summary dialog and in capinfos, report whether the file is gzip-compressed. svn path=/trunk/; revision=42818
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/summary.c b/summary.c
index 3e3af32..74f3874 100644
--- a/summary.c
+++ b/summary.c
@@ -141,6 +141,7 @@ summary_fill_in(capture_file *cf, summary_tally *st)
st->filename = cf->filename;
st->file_length = cf->f_datalen;
st->file_type = cf->cd_t;
+ st->iscompressed = cf->iscompressed;
st->is_tempfile = cf->is_tempfile;
st->encap_type = cf->lnk_t;
st->has_snap = cf->has_snap;