Frame numbers are unsigned.
[obnox/wireshark/wip.git] / summary.c
index 3da60a62b142ab5ac312d374749ae69a9af5f01e..b10d632afeadcfec41c7ee08e012073a218887c7 100644 (file)
--- a/summary.c
+++ b/summary.c
@@ -1,13 +1,12 @@
 /* summary.c
  * Routines for capture file summary info
  *
- * $Id: summary.c,v 1.20 2001/02/11 09:28:15 guy Exp $
+ * $Id: summary.c,v 1.22 2002/02/08 10:07:34 guy Exp $
  *
  * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
  * Copyright 1998 Gerald Combs
  *
- *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
-#include "packet.h"
+#include <epan/packet.h>
 #include "globals.h"
 #include "summary.h"
 
@@ -91,6 +89,7 @@ summary_fill_in(summary_tally *st)
   st->filename = cfile.filename;
   st->file_length = cfile.f_len;
   st->encap_type = cfile.cd_t;
+  st->has_snap = cfile.has_snap;
   st->snap = cfile.snap;
   st->elapsed_time = secs_usecs(cfile.esec, cfile.eusec);
   st->packet_count = cfile.count;