diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2009-02-20 10:17:52 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2009-02-20 10:17:52 +0000 |
commit | e6662f62230623db80e01473d49eb30a3f46bd62 (patch) | |
tree | 0f41318316e109bb05222c63294de2dec7805515 /epan/dissectors/packet-pdcp-lte.c | |
parent | 34423cbcc360d476af0649f04491b2370775f81d (diff) |
Set and use 'plane' more carefully.
svn path=/trunk/; revision=27488
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.c')
-rw-r--r-- | epan/dissectors/packet-pdcp-lte.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c index 65000de007..dc38432bf0 100644 --- a/epan/dissectors/packet-pdcp-lte.c +++ b/epan/dissectors/packet-pdcp-lte.c @@ -1544,7 +1544,12 @@ static void dissect_pdcp_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree } else { if (tvb_length_remaining(tvb, offset) > 0) { - proto_tree_add_item(pdcp_tree, hf_pdcp_lte_user_plane_data, tvb, offset, -1, FALSE); + if (p_pdcp_info->plane == USER_PLANE) { + proto_tree_add_item(pdcp_tree, hf_pdcp_lte_user_plane_data, tvb, offset, -1, FALSE); + } + else { + proto_tree_add_item(pdcp_tree, hf_pdcp_lte_signalling_data, tvb, offset, -1, FALSE); + } if (check_col(pinfo->cinfo, COL_INFO)) { col_append_fstr(pinfo->cinfo, COL_INFO, " (%u bytes data)", |