From 25aa394086e7ecf358951bc1a41526a12708cfd1 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Sat, 4 Nov 2017 11:13:54 +0000 Subject: [PATCH] Adding some debug code. --- srsepc/src/hss/hss.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/srsepc/src/hss/hss.cc b/srsepc/src/hss/hss.cc index e5dc85b77..b41d8978b 100644 --- a/srsepc/src/hss/hss.cc +++ b/srsepc/src/hss/hss.cc @@ -37,7 +37,7 @@ hss* hss::m_instance = NULL; boost::mutex hss_instance_mutex; hss::hss() - :m_sqn(0) + :m_sqn(1) { m_pool = srslte::byte_buffer_pool::get_instance(); return; @@ -131,6 +131,18 @@ hss::gen_auth_info_answer_milenage(uint64_t imsi, uint8_t *k_asme, uint8_t *autn mnc, k_asme); + //DEBUG code + std::cout<<"SQN: "; + for(int i=0;i<6;i++){ + std::cout << std::hex <<(uint16_t) sqn[i]; + } + std::cout<