Commit 3155ec6d authored by Cedric Roux's avatar Cedric Roux

gtp: small fix: set E if there is an extension header

parent 7f910a2e
......@@ -184,7 +184,7 @@ static int gtpv1uCreateAndSendMsg(int h,
// N should be 0 for us (it was used only in 2G and 3G)
msgHdr->PN=npduNumFlag;
msgHdr->S=seqNumFlag;
msgHdr->E = extHdrType;
msgHdr->E = extHdrType != NO_MORE_EXT_HDRS;
msgHdr->spare=0;
//PT=0 is for GTP' TS 32.295 (charging)
msgHdr->PT=1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment