diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2012-10-09 07:40:06 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2012-10-09 07:40:06 +0000 |
commit | 41ad59d6a7f4d3657862fcb20f17af7b85bb0683 (patch) | |
tree | 1b2da12faf3c830f76cde5bc20ee93289f527a77 | |
parent | d08697130fa1e88697b75036a9e94edead13738d (diff) | |
download | wireshark-41ad59d6a7f4d3657862fcb20f17af7b85bb0683.tar.gz |
Fix dissection of Bearer parameters for E-UTRAN / mapped UTRAN packet service
svn path=/trunk/; revision=45417
-rw-r--r-- | epan/dissectors/packet-etsi_card_app_toolkit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/dissectors/packet-etsi_card_app_toolkit.c b/epan/dissectors/packet-etsi_card_app_toolkit.c index f932fb378d..66931ca874 100644 --- a/epan/dissectors/packet-etsi_card_app_toolkit.c +++ b/epan/dissectors/packet-etsi_card_app_toolkit.c @@ -737,11 +737,8 @@ dissect_cat(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case 0x0a: break; case 0x0b: - { - tvbuff_t * esm_tvb; - esm_tvb = tvb_new_subset(tvb, pos+1, len-1, len-1); - de_esm_qos(esm_tvb, elem_tree, pinfo, 0, len-1, NULL, 0); - } + de_esm_qos(tvb, elem_tree, pinfo, pos+1, len-2, NULL, 0); + proto_tree_add_item(elem_tree, hf_ctlv_bearer_utran_pdp_type, tvb, pos+len-1, 1, ENC_BIG_ENDIAN); break; default: if (len > 1) { |