aboutsummaryrefslogtreecommitdiffstats
path: root/epan/frame_data.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-11 12:34:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-11 12:34:39 +0000
commit8aea738cda52892997abe27549f8698f99a5d1d1 (patch)
tree6ecfe45be7083cd501ae850005fc616d01923d9b /epan/frame_data.c
parent11e815e99abb45be7cc242517bf3be771e259b99 (diff)
Add the abillity to read and write option comments unedited.
This is POC we may want to have more efficient use of the frame data structure etc. But this allows for work to be done on the GUI to actually add comments. svn path=/trunk/; revision=40969
Diffstat (limited to 'epan/frame_data.c')
-rw-r--r--epan/frame_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/frame_data.c b/epan/frame_data.c
index a233c75127..08609c48f3 100644
--- a/epan/frame_data.c
+++ b/epan/frame_data.c
@@ -194,6 +194,7 @@ frame_data_init(frame_data *fdata, guint32 num,
{
fdata->pfd = NULL;
fdata->num = num;
+ fdata->interface_id = phdr->interface_id;
fdata->pkt_len = phdr->len;
fdata->cum_bytes = cum_bytes + phdr->len;
fdata->cap_len = phdr->caplen;
@@ -212,6 +213,7 @@ frame_data_init(frame_data *fdata, guint32 num,
fdata->flags.ref_time = 0;
fdata->flags.ignored = 0;
fdata->color_filter = NULL;
+ fdata->opt_comment = phdr->opt_comment;
}
void