aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-09 19:02:18 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-09 19:02:18 +0000
commit25683dc673afdba39cb473a6918379e02bd77045 (patch)
tree56eb053a2162838e5ac080d3b2d72d585cd7b0b7 /tethereal.c
parentd6fe3b0403b2d9f6cda11f062775d10d4f090585 (diff)
use the same packet range things for "Print" dialog, as already implemented
in the "Save As" dialog and some other minor changes git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9612 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tethereal.c b/tethereal.c
index d271cb3080..26e4b7ce24 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.214 2004/01/05 19:31:44 ulfl Exp $
+ * $Id: tethereal.c,v 1.215 2004/01/09 19:02:18 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2565,7 +2565,10 @@ wtap_dispatch_cb_print(guchar *user, const struct wtap_pkthdr *phdr,
print_args.print_summary = !verbose;
print_args.print_hex = print_hex;
print_args.print_dissections = print_dissections_expanded;
- print_args.print_range = print_range_all_captured;
+
+ /* init the packet range */
+ packet_range_init(&print_args.range);
+
if (verbose) {
/* Print the information in the protocol tree. */
proto_tree_print(&print_args, edt, stdout);