diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-06-30 21:33:43 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-06-30 21:33:49 +0200 |
commit | f861d312fee49caee437858d71bca54852fa3b0a (patch) | |
tree | 2937f5c8e989261b10272d48562cc9c0677a3b4e | |
parent | 72e395656d19a3c7b585071f2aea403074652f2b (diff) |
decoding.cpp: Improve logging in malformed UL data parsing
Change-Id: Ic4ad14b88fddde8d9e62e0a2587b501d36821f01
-rw-r--r-- | src/decoding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoding.cpp b/src/decoding.cpp index 064c9741..0437994b 100644 --- a/src/decoding.cpp +++ b/src/decoding.cpp @@ -282,8 +282,8 @@ int Decoding::rlc_data_from_ul_data( offs += chunks[i].length; if (offs > data_len) { LOGP(DRLCMACUL, LOGL_NOTICE, "UL DATA out of block " - "border, chunk idx: %d, size: %d\n", - i, chunks[i].length); + "border, chunk idx: %d, offset: %u, size: %d, data_len: %u\n", + i, offs, chunks[i].length, data_len); return -EINVAL; } } |