diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-26 00:07:20 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-25 23:14:50 +0000 |
commit | b981173669401ff8c325edf8a4ade816acb32020 (patch) | |
tree | 07b26a49e5e90120a2d55d70645484a4145d64ec /epan/dissectors/packet-lte-rrc.c | |
parent | 38b5efd5cf9884d1274a5e9b6cdaa404c9a1d509 (diff) |
LTE RRC: fix dissection of SystemInfoListGERAN IE
Change-Id: I502f7cd97cf00822900b4cd09e183e3b491c1437
Reviewed-on: https://code.wireshark.org/review/831
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-lte-rrc.c')
-rw-r--r-- | epan/dissectors/packet-lte-rrc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lte-rrc.c b/epan/dissectors/packet-lte-rrc.c index 0b361c33ff..f4a99c8d87 100644 --- a/epan/dissectors/packet-lte-rrc.c +++ b/epan/dissectors/packet-lte-rrc.c @@ -19514,7 +19514,14 @@ dissect_lte_rrc_SystemInfoListGERAN_item(tvbuff_t *tvb _U_, int offset _U_, asn1 case SI_OrPSI_GERAN_si: /* SI message */ if (gsm_a_dtap_handle) { - call_dissector(gsm_a_dtap_handle, sys_info_list_tvb, actx->pinfo, subtree); + tvbuff_t *si_tvb = tvb_new_composite(); + guint8 *pd = (guint8 *) wmem_alloc(actx->pinfo->pool, 1); + pd[0] = 0x06; + tvb_composite_append(si_tvb, tvb_new_real_data(pd, 1, 1)); + tvb_composite_append(si_tvb, sys_info_list_tvb); + tvb_composite_finalize(si_tvb); + add_new_data_source(actx->pinfo, si_tvb, "System Information"); + call_dissector(gsm_a_dtap_handle, si_tvb, actx->pinfo, subtree); } break; case SI_OrPSI_GERAN_psi: |