aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-30 21:33:43 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-30 21:33:49 +0200
commitf861d312fee49caee437858d71bca54852fa3b0a (patch)
tree2937f5c8e989261b10272d48562cc9c0677a3b4e
parent72e395656d19a3c7b585071f2aea403074652f2b (diff)
decoding.cpp: Improve logging in malformed UL data parsing
-rw-r--r--src/decoding.cpp4
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;
}
}