fix array overindexing
authorrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 24 Nov 2008 14:00:06 +0000 (14:00 +0000)
committerrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 24 Nov 2008 14:00:06 +0000 (14:00 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26834 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-gsm_bssmap_le.c

index a0f65384063858b987149e642966f6dcbdebc51a..28823963166b5f5f4a463a63a4ae115fc45834d1 100644 (file)
@@ -765,7 +765,7 @@ bssmap_le_perf_loc_resp(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint l
        /* Deciphering Keys 9.2.3 C (note 2) 3-n */
        ELEM_OPT_TLV(gsm_bssmap_elem_strings[BSSMAP_LE_DECIPHERING_KEYS].value, GSM_PDU_TYPE_BSSMAP_LE, BSSMAP_LE_DECIPHERING_KEYS, "");
        /* LCS Cause 9.2.4 C (note 3) 3-n */
-       ELEM_OPT_TLV(gsm_bssmap_le_elem_strings[BSSMAP_LE_LCS_CAUSE].value, GSM_PDU_TYPE_BSSMAP_LE, BSSMAP_LE_LCS_CAUSE, "");
+       ELEM_OPT_TLV(gsm_bssmap_le_elem_strings[DE_BMAPLE_LCS_CAUSE].value, GSM_PDU_TYPE_BSSMAP_LE, BSSMAP_LE_LCS_CAUSE, "");
        /* Velocity Estimate    9.2.5   O       3-n */
        ELEM_OPT_TLV(gsm_bssmap_elem_strings[BE_VEL_EST].value, BSSAP_PDU_TYPE_BSSMAP, BE_VEL_EST, "");
        /* GANSS Positioning Data       9.2.6   O       3-n */