aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_sim.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-12-05 06:23:17 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-12-05 06:23:17 +0000
commit03085a5c9a2550b2ecda441bff77c2f9b1fcad0e (patch)
tree07ce60d88a3a6485ebaf702ccda962967e99d4b3 /epan/dissectors/packet-gsm_sim.c
parent8d0dc9f935ec01eb2890251ac4e683d157638a22 (diff)
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9503 :
Fix dissection of STK SEND SHORT MESSAGE proactive command svn path=/trunk/; revision=53793
Diffstat (limited to 'epan/dissectors/packet-gsm_sim.c')
-rw-r--r--epan/dissectors/packet-gsm_sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_sim.c b/epan/dissectors/packet-gsm_sim.c
index 332ef2fbd8..2406560229 100644
--- a/epan/dissectors/packet-gsm_sim.c
+++ b/epan/dissectors/packet-gsm_sim.c
@@ -1136,7 +1136,7 @@ dissect_bertlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case 0xD1: /* sms-pp download */
case 0xD6: /* event download */
case 0xD7: /* timer expiration */
- call_dissector(sub_handle_cap, subtvb, pinfo, tree);
+ call_dissector_with_data(sub_handle_cap, subtvb, pinfo, tree, GUINT_TO_POINTER(tag));
break;
}
@@ -1307,7 +1307,7 @@ dissect_gsm_apdu(guint8 ins, guint8 p1, guint8 p2, guint8 p3, tvbuff_t *tvb,
break;
case 0x14: /* TERMINAL RESPONSE */
subtvb = tvb_new_subset(tvb, offset+DATA_OFFS, p3, p3);
- call_dissector(sub_handle_cap, subtvb, pinfo, tree);
+ call_dissector_with_data(sub_handle_cap, subtvb, pinfo, tree, GUINT_TO_POINTER(0x14));
break;
case 0x70: /* MANAGE CHANNEL */
proto_tree_add_item(tree, hf_chan_op, tvb, offset-3, 1, ENC_BIG_ENDIAN);