bug, msglen header

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6022 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2014-11-17 11:59:50 +00:00
parent b3ff8efd2b
commit 83f7f69f2a
@@ -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