From 83f7f69f2a30a5a0fefa5bdfeabd35e07a89bdb9 Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Mon, 17 Nov 2014 11:59:50 +0000 Subject: [PATCH] bug, msglen header git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6022 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c b/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c index dd08249a9b..f78f44540c 100644 --- a/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c +++ b/openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c @@ -183,9 +183,7 @@ nwGtpv1uGpduMsgNew( NW_IN NwGtpv1uStackHandleT hGtpuStackHandle, // i.e. included in the length count. //header_len = ((pMsg->seqNumFlag || pMsg->npduNumFlag || pMsg->extHdrFlag ) ? // NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE : NW_GTPV1U_EPC_MIN_HEADER_SIZE); - //pMsg->msgLen = ((pMsg->seqNumFlag || pMsg->npduNumFlag - // || pMsg->extHdrFlag ) ? - // (NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE - NW_GTPV1U_EPC_MIN_HEADER_SIZE) + tpduLength : tpduLength); + pMsg->msgLen = msgExtraLen + tpduLength; // Tunnel Endpoint Identifier (TEID): This field unambiguously identifies a tunnel endpoint in the receiving // GTP-U protocol entity. The receiving end side of a GTP tunnel locally assigns the TEID value the transmitting -- GitLab