aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsmtap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-02-08 22:01:33 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-02-08 22:01:33 +0000
commit87aaac83ce8253c24fd75d7195865105ba265e66 (patch)
tree1d2b6702af6e0fc2be968b4df31957847e07ffbd /epan/dissectors/packet-gsmtap.c
parenta2fc2ef5e2132a2ebf659e7483bd54152773fcfc (diff)
From Holger Freyther:
Fix the GSMTAP to TETRA table GSMTAP has the BSCH at 1... this means the table needs to have 9 entries, the first being 0. -------------------------------------------------------------------------------- https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5659 svn path=/trunk/; revision=35882
Diffstat (limited to 'epan/dissectors/packet-gsmtap.c')
-rw-r--r--epan/dissectors/packet-gsmtap.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsmtap.c b/epan/dissectors/packet-gsmtap.c
index 0adb640e07..0841a5b946 100644
--- a/epan/dissectors/packet-gsmtap.c
+++ b/epan/dissectors/packet-gsmtap.c
@@ -202,7 +202,17 @@ static const value_string gsmtap_tetra_channels[] = {
};
/* the mapping is not complete */
-static const int gsmtap_to_tetra[8] = { TETRA_CHAN_BSCH, TETRA_CHAN_AACH, TETRA_CHAN_SCH_HU, 0,TETRA_CHAN_SCH_F, TETRA_CHAN_BNCH, TETRA_CHAN_STCH, 0};
+static const int gsmtap_to_tetra[9] = {
+ 0,
+ TETRA_CHAN_BSCH,
+ TETRA_CHAN_AACH,
+ TETRA_CHAN_SCH_HU,
+ 0,
+ TETRA_CHAN_SCH_F,
+ TETRA_CHAN_BNCH,
+ TETRA_CHAN_STCH,
+ 0
+};
static const value_string gsmtap_types[] = {
{ GSMTAP_TYPE_UM, "GSM Um (MS<->BTS)" },