aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-07-29 20:58:47 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-07-29 20:58:47 +0000
commit26d1dfcf4caa702a38737a0768375cb0b1e89ace (patch)
tree764a389b80d8f01ad8fe4d63c0871d81b31a71c3 /file.c
parentad74edb13954ddf3c52edd36b416e4f86646108c (diff)
Add pinfo to new_packet_list_append() this should give us the abillity
to store (most) of the underlying data rather than the strings in the store and render it when we need it, thuss saving storage space and loading time. Idealy we should not store the complete fdata or pinfo structures but rather just the data relevant to the currently selected/used columns. I'm not entierly sure how to accomplish that however. Dynamically allocated array to hold pointers to the actual data? svn path=/trunk/; revision=29237
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 24efcaaae0..18225cb541 100644
--- a/file.c
+++ b/file.c
@@ -1132,7 +1132,7 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
* in the following function when not using the new packet list. */
fdata->color_filter = color_filters_colorize_packet(0, edt);
- row = new_packet_list_append(&cf->cinfo, fdata);
+ row = new_packet_list_append(&cf->cinfo, fdata, &edt->pi);
#else
row = packet_list_append(cf->cinfo.col_data, fdata);