aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-04-22 17:03:21 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-04-22 17:03:21 +0000
commit51f987e04f063251198154e2691a99b6281d7c71 (patch)
tree2a5868f2792d840973716841f329adca8e79f3b7 /tethereal.c
parentf205304ed4b63be05dfd8f8ee1e989e75c773148 (diff)
added some options and enhancements to the print output:
-ps: added formatting hints for ghostscript, so pdf conversion will be much better -ps: print a thin line at the top and bottom of each page -ps/text: add an option to start a new page for every packet (formfeed) svn path=/trunk/; revision=10660
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c
index 71ee487e1f..218492d8f2 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.236 2004/04/20 22:34:08 ulfl Exp $
+ * $Id: tethereal.c,v 1.237 2004/04/22 17:03:20 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2611,6 +2611,7 @@ wtap_dispatch_cb_print(guchar *user, const struct wtap_pkthdr *phdr,
print_args.format = print_format;
print_args.print_summary = !verbose;
print_args.print_hex = verbose && print_hex;
+ print_args.print_formfeed = FALSE;
print_args.print_dissections = verbose ? print_dissections_expanded : print_dissections_none;
/* init the packet range */