aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1
diff options
context:
space:
mode:
authorDarien Spencer <cusneud@mail.com>2020-02-03 14:46:39 +0200
committerPascal Quantin <pascal@wireshark.org>2020-02-03 13:21:34 +0000
commite4094aeac650592e7d8a15b29f1f9012274fa5ec (patch)
tree79c1b21df52f931a39ab4cddea43ea13022699a7 /epan/dissectors/asn1
parent8c9efa5f1bc1f57b4293ea39b76c91548dc45121 (diff)
NBAP: Actually set max mac-d pdu size flag
This completes the commit at: 2bd79c82088f92311bb67f58e8d54ff1d471a7d6 Change-Id: I439ba64a248a66094c575a2629a5344c716f0f5c Reviewed-on: https://code.wireshark.org/review/36015 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Diffstat (limited to 'epan/dissectors/asn1')
-rw-r--r--epan/dissectors/asn1/nbap/nbap.cnf3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/nbap/nbap.cnf b/epan/dissectors/asn1/nbap/nbap.cnf
index a00a9b27a9..81307a19fb 100644
--- a/epan/dissectors/asn1/nbap/nbap.cnf
+++ b/epan/dissectors/asn1/nbap/nbap.cnf
@@ -1678,6 +1678,8 @@ nbap_edch_channel_info_t* nbap_edch_channel_info;
nbap_private_data_t* nbap_private_data = nbap_get_private_data(actx->pinfo);
nbap_edch_channel_info = nbap_private_data->nbap_edch_channel_info;
+ /* Resetting entity recognition flag to check if it's set in this InfoItem */
+ nbap_private_data->max_mac_d_pdu_size_ext_ie_present = FALSE;
%(DEFAULT_BODY)s
if (PINFO_FD_VISITED(actx->pinfo)) {
return offset;
@@ -2084,6 +2086,7 @@ guint32 hsdsch_macdflow_id;
nbap_hsdsch_channel_info_t* nbap_hsdsch_channel_info;
nbap_hsdsch_channel_info = nbap_get_private_data(actx->pinfo)->nbap_hsdsch_channel_info;
%(DEFAULT_BODY)s
+ nbap_get_private_data(actx->pinfo)->max_mac_d_pdu_size_ext_ie_present = TRUE;
hsdsch_macdflow_id = nbap_get_private_data(actx->pinfo)->hsdsch_macdflow_id;
if(nbap_hsdsch_channel_info[hsdsch_macdflow_id].crnc_port != 0){
nbap_hsdsch_channel_info[hsdsch_macdflow_id].entity = ehs;