diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-03-18 00:11:52 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-03-18 00:11:52 +0000 |
commit | d01a2ac0727ec6a9825e40a01ee77a216d488b72 (patch) | |
tree | 8d69fdb45aedbe3c411bbaf53454bbd8b15b2c77 /file.c | |
parent | 3b4c2011cb8fef1252b3ff10144fe5537000a7d3 (diff) | |
download | wireshark-d01a2ac0727ec6a9825e40a01ee77a216d488b72.tar.gz wireshark-d01a2ac0727ec6a9825e40a01ee77a216d488b72.tar.bz2 wireshark-d01a2ac0727ec6a9825e40a01ee77a216d488b72.zip |
Bah, committed the wrong file.
Second try on allow custom columns when printing.
svn path=/trunk/; revision=24682
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |