summaryrefslogtreecommitdiffstats
path: root/src/isi-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isi-sim.c')
-rw-r--r--src/isi-sim.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/isi-sim.c b/src/isi-sim.c
index c88fee2..f8ba227 100644
--- a/src/isi-sim.c
+++ b/src/isi-sim.c
@@ -462,21 +462,8 @@ static void dissect_isi_sim(tvbuff_t *tvb, packet_info *pinfo, proto_item *isitr
}
break;
- case 0xF0: /* SIM_COMMON_MESSAGE */
- proto_tree_add_item(tree, hf_isi_sim_cause, tvb, 1, 1, FALSE);
- proto_tree_add_item(tree, hf_isi_sim_secondary_cause, tvb, 2, 1, FALSE);
- code = tvb_get_guint8(tvb, 1);
- switch(code) {
- case 0x00:
- col_set_str(pinfo->cinfo, COL_INFO, "Common Message: SIM Server Not Available");
- break;
- case 0x12:
- col_set_str(pinfo->cinfo, COL_INFO, "Common Message: PIN Enable OK");
- break;
- default:
- col_set_str(pinfo->cinfo, COL_INFO, "Common Message");
- break;
- }
+ case 0xF0: /* COMMON_MESSAGE */
+ dissect_isi_common("SIM", tvb, pinfo, tree);
break;
default: