Bah, committed the wrong file.

Second try on allow custom columns when printing.

svn path=/trunk/; revision=24682
This commit is contained in:
Stig Bjørlykke 2008-03-18 00:11:52 +00:00
parent 3b4c2011cb
commit d01a2ac072
1 changed files with 2 additions and 2 deletions

4
file.c
View File

@ -1929,8 +1929,8 @@ print_packet(capture_file *cf, frame_data *fdata,
the dissection or the hex data.
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 || have_custom_cols(&cf->cinfo), proto_tree_needed);
args->print_args->print_dissections != print_dissections_none || args->print_args->print_hex || have_custom_cols(&cf->cinfo);
edt = epan_dissect_new(proto_tree_needed, proto_tree_needed);
/* Fill in the column information if we're printing the summary
information. */