aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-03-17 23:40:00 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-03-17 23:40:00 +0000
commit30ff57a9cc98d6a0835a54cfce68f671238c3018 (patch)
treef087a4a13078483c6c23bc64ca62390c5b73b5bf
parent6ef9884f84f2e8fc220b27525d8cde176c269af2 (diff)
Allow custom columns when printing.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24679 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index cffbc033ce..a7aba46a2f 100644
--- a/file.c
+++ b/file.c
@@ -1930,7 +1930,7 @@ print_packet(capture_file *cf, frame_data *fdata,
XXX - do we need it if we're just printing the hex data? */
proto_tree_needed =
args->print_args->print_dissections != print_dissections_none || args->print_args->print_hex;
- edt = epan_dissect_new(proto_tree_needed, proto_tree_needed);
+ edt = epan_dissect_new(proto_tree_needed || have_custom_cols(&cf->cinfo), proto_tree_needed);
/* Fill in the column information if we're printing the summary
information. */