Fix GTP-U length header field in encoding 10/13510/3
authorAndreas Schultz <andreas.schultz@travelping.com>
Tue, 17 Jul 2018 09:34:20 +0000 (11:34 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 18 Jul 2018 04:39:56 +0000 (04:39 +0000)
commitd6dfd002328676eddda3b90bf46af0128a119b75
treed31469567aa4a7394df630c7490e8b83beda1e44
parent96cc67dd80e7fbf56071925afff056929965af6d
Fix GTP-U length header field in encoding

The length in the GTPU header does not specify the length of the
payload. It does specify the number of bytes following the fixed
part (the first 8 bytes) of the GTPU header (see 3GPP TS 29.060,
Sect. 9.3.1).

Change-Id: I8ce73df015e1cf1f38d306666962c0058756111c
Signed-off-by: Andreas Schultz <andreas.schultz@travelping.com>
src/plugins/gtpu/gtpu.h
src/plugins/gtpu/gtpu_encap.c