diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-05-19 17:16:14 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-05-19 17:16:14 +0000 |
commit | fc3f1b5283ffb77cf1135800a616b202904879d7 (patch) | |
tree | c1f708812bd86cb9a2f2df53f0f5db677b603f40 /epan/dissectors/packet-rx.c | |
parent | 79e537af335c1e3781ca23bb910fc11a30f36bcc (diff) |
From Artem Tamazov (bug 3472):
Save/Restore pinfo->private_data when used.
svn path=/trunk/; revision=28412
Diffstat (limited to 'epan/dissectors/packet-rx.c')
-rw-r--r-- | epan/dissectors/packet-rx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rx.c b/epan/dissectors/packet-rx.c index 483f88bf90..b92e71e3d1 100644 --- a/epan/dissectors/packet-rx.c +++ b/epan/dissectors/packet-rx.c @@ -579,9 +579,12 @@ dissect_rx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) break; case RX_PACKET_TYPE_DATA: { tvbuff_t *next_tvb; + void* pd_save; + pd_save = pinfo->private_data; pinfo->private_data = &rxinfo; next_tvb = tvb_new_subset(tvb, offset, -1, -1); call_dissector(afs_handle, next_tvb, pinfo, parent_tree); + pinfo->private_data = pd_save; }; break; case RX_PACKET_TYPE_ABORT: |