From 07abf4329d171c1c6cdc5965558e6bab17dd2520 Mon Sep 17 00:00:00 2001 From: Angelo Athanassopoulos Date: Fri, 28 Oct 2022 13:41:33 +0200 Subject: [PATCH] PSEA - IEI DNN - This is the last IEI in the message. Before this commit each time the message was captured, it entered the default switch statement, which is meant to show that we received an uknown IEI. Now after the DNN IEI, we set offset=msg_length, to exit the switch. --- openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c b/openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c index 367fa0a71d..62d22698d7 100644 --- a/openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c +++ b/openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c @@ -177,8 +177,7 @@ void capture_pdu_session_establishment_accept_msg(uint8_t *buffer, uint32_t msg_ } else LOG_E(NAS, "PDU SESSION ESTABLISHMENT ACCEPT - DNN IE has invalid length\n"); - offset += psea_msg.dnn_ie.dnn_length; - psea_iei = *(buffer + offset++); + offset = msg_length; break; default: