|
|
60db69 |
From 85441817e9068de1267e945cfee1f8080c402fa7 Mon Sep 17 00:00:00 2001
|
|
|
60db69 |
From: Martin Sehnoutka <msehnout@redhat.com>
|
|
|
60db69 |
Date: Mon, 13 Mar 2017 10:38:54 +0100
|
|
|
60db69 |
Subject: [PATCH] Backport dissect_gmr1_bcch modifications from upstream.
|
|
|
60db69 |
|
|
|
60db69 |
---
|
|
|
60db69 |
epan/dissectors/packet-gmr1_bcch.c | 2 ++
|
|
|
60db69 |
1 file changed, 2 insertions(+)
|
|
|
60db69 |
|
|
|
60db69 |
diff --git a/epan/dissectors/packet-gmr1_bcch.c b/epan/dissectors/packet-gmr1_bcch.c
|
|
|
60db69 |
index f522bd2..6e9a6ed 100644
|
|
|
60db69 |
--- a/epan/dissectors/packet-gmr1_bcch.c
|
|
|
60db69 |
+++ b/epan/dissectors/packet-gmr1_bcch.c
|
|
|
60db69 |
@@ -1048,6 +1048,7 @@ dissect_gmr1_bcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|
|
60db69 |
if (is_si1) {
|
|
|
60db69 |
SystemInformation1_t *data;
|
|
|
60db69 |
data = ep_new(SystemInformation1_t);
|
|
|
60db69 |
+ data->SegmentType = array_length(SI1_SegmentChoice) - 1;
|
|
|
60db69 |
csnStreamDissector(bcch_tree, &ar, CSNDESCR(SystemInformation1_t), tvb, data, ett_gmr1_bcch);
|
|
|
60db69 |
col_append_fstr(
|
|
|
60db69 |
pinfo->cinfo, COL_INFO,
|
|
|
60db69 |
@@ -1057,6 +1058,7 @@ dissect_gmr1_bcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|
|
60db69 |
} else {
|
|
|
60db69 |
SystemInformation2_t *data;
|
|
|
60db69 |
data = ep_new(SystemInformation2_t);
|
|
|
60db69 |
+ data->SegmentType = array_length(SI2_SegmentChoice) - 1;
|
|
|
60db69 |
csnStreamDissector(bcch_tree, &ar, CSNDESCR(SystemInformation2_t), tvb, data, ett_gmr1_bcch);
|
|
|
60db69 |
col_append_fstr(
|
|
|
60db69 |
pinfo->cinfo, COL_INFO,
|
|
|
60db69 |
--
|
|
|
60db69 |
2.9.3
|
|
|
60db69 |
|