diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-20 18:00:05 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-20 18:00:05 +0000 |
commit | df6594bbd2cd202f160c458a259b2943169c6646 (patch) | |
tree | 3c43ac5c4f22d0a4d0a672b2648c6c7e13fac069 /epan/dissectors/packet-mpls-y1711.c | |
parent | a9d79ebb94b6e983283df90d4a909c8ee5e5b9fd (diff) |
Pass MPLS "private data" into subdissectors instead of using pinfo->private_data.
svn path=/trunk/; revision=52718
Diffstat (limited to 'epan/dissectors/packet-mpls-y1711.c')
-rw-r--r-- | epan/dissectors/packet-mpls-y1711.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mpls-y1711.c b/epan/dissectors/packet-mpls-y1711.c index 9027d27871..73cc880f21 100644 --- a/epan/dissectors/packet-mpls-y1711.c +++ b/epan/dissectors/packet-mpls-y1711.c @@ -114,9 +114,9 @@ static const value_string y1711_defect_type_vals[] = { }; static int -dissect_mpls_y1711(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) +dissect_mpls_y1711(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { - struct mplsinfo *mplsinfo = (struct mplsinfo *)pinfo->private_data; + struct mplsinfo *mplsinfo = (struct mplsinfo *)data; int offset = 0; proto_item *ti; proto_tree *mpls_y1711_tree; |