From 1e4eae7395927ee19d9c6d2285b64a276dcb8acb Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 1 Jul 2020 17:17:05 +0200 Subject: [PATCH] nas: log estimated count instead of local rx_count when logging integrity check result --- srsue/src/stack/upper/nas.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsue/src/stack/upper/nas.cc b/srsue/src/stack/upper/nas.cc index 5753d79fa..07f7c007d 100644 --- a/srsue/src/stack/upper/nas.cc +++ b/srsue/src/stack/upper/nas.cc @@ -831,7 +831,7 @@ bool nas::integrity_check(byte_buffer_t* pdu) if (exp_mac[i] != mac[i]) { nas_log->warning("Integrity check failure. Local: count=%d, [%02x %02x %02x %02x], " "Received: count=%d, [%02x %02x %02x %02x]\n", - ctxt.rx_count, + count_est, exp_mac[0], exp_mac[1], exp_mac[2], @@ -845,7 +845,7 @@ bool nas::integrity_check(byte_buffer_t* pdu) } } nas_log->info("Integrity check ok. Local: count=%d, Received: count=%d [%02x %02x %02x %02x]\n", - ctxt.rx_count, + count_est, pdu->msg[5], mac[0], mac[1],