diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-27 16:03:11 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-27 16:03:11 +0000 |
commit | 471f21181b866fc1328b61a2ea4584b400388d7b (patch) | |
tree | d98992020277c9f9e591babddd359c8b03d9238b /epan/dissectors/packet-bpq.c | |
parent | 394f67c1b7ab65b6fb89610ce251be62b8509208 (diff) |
Have X.25 dissector pass boolean q_bit_set value through dissector data rather than pinfo->private_data.
Other "related" dissectors weren't manipulating pinfo->private_data, so it doesn't make sense for them to bother saving/restore it (now that q_bit_set isn't being used)
svn path=/trunk/; revision=52894
Diffstat (limited to 'epan/dissectors/packet-bpq.c')
-rw-r--r-- | epan/dissectors/packet-bpq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bpq.c b/epan/dissectors/packet-bpq.c index 2e90539df0..d6c08cbcc4 100644 --- a/epan/dissectors/packet-bpq.c +++ b/epan/dissectors/packet-bpq.c @@ -66,7 +66,6 @@ dissect_bpq( tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree ) proto_tree *bpq_tree; int offset; guint16 bpq_len; - void *saved_private_data; tvbuff_t *next_tvb; @@ -100,11 +99,9 @@ dissect_bpq( tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree ) offset += BPQ_HEADER_SIZE; - saved_private_data = pinfo->private_data; /* XXX - use the length */ next_tvb = tvb_new_subset_remaining( tvb, offset ); call_dissector( ax25_handle, next_tvb, pinfo, parent_tree ); - pinfo->private_data = saved_private_data; } void |