aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_sim.c
diff options
context:
space:
mode:
authorDarien Spencer <cusneud@mail.com>2018-07-25 20:43:24 +0300
committerPascal Quantin <pascal.quantin@gmail.com>2018-07-25 20:46:22 +0000
commit98ecf04f91fdfdac0348713716a14206a673e2cb (patch)
tree3a425b2a0c456a3c0146f58be4644b8cb827ab03 /epan/dissectors/packet-gsm_sim.c
parent762f12d625a3e4fe43a7d19d26b9e6de97dd90e2 (diff)
GSM SIM: Show length for 0x9f status word
Second byte, sw2, contains the amount of bytes in the response. Change-Id: I237ef5978e81a2f13b821c5601177dac26829df1 Reviewed-on: https://code.wireshark.org/review/28850 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_sim.c')
-rw-r--r--epan/dissectors/packet-gsm_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_sim.c b/epan/dissectors/packet-gsm_sim.c
index 8e90931624..e1d3a9492a 100644
--- a/epan/dissectors/packet-gsm_sim.c
+++ b/epan/dissectors/packet-gsm_sim.c
@@ -1105,7 +1105,7 @@ static const gchar *get_sw_string(guint16 sw)
case 0x9e:
return "Length of the response data given / SIM data download error";
case 0x9f:
- return "Length of the response data";
+ return wmem_strdup_printf(wmem_packet_scope(), "Length of the response data, Length is %u", sw2);
case 0x92:
if ((sw & 0xf0) == 0x00)
return "Command successful but after internal retry routine";