Change some debug prints.

master
Pedro Alvarez 6 years ago
parent 6a32b5b047
commit 8df7a1b1af

@ -52,7 +52,7 @@ hss::~hss()
hss* hss*
hss::get_instance(void) hss::get_instance(void)
{ {
pthread_mutex_lock(&hss_instance_mutex); pthread_mutex_lock(&hss_instance_mutex);
if(NULL == m_instance) { if(NULL == m_instance) {
m_instance = new hss(); m_instance = new hss();
@ -93,7 +93,7 @@ hss::init(hss_args_t *hss_args, srslte::log_filter *hss_log)
mcc = hss_args->mcc; mcc = hss_args->mcc;
mnc = hss_args->mnc; mnc = hss_args->mnc;
db_file = hss_args->db_file; db_file = hss_args->db_file;
m_hss_log->info("HSS Initialized. DB file %s, authentication algorithm %s, MCC: %d, MNC: %d\n", hss_args->db_file.c_str(),hss_args->auth_algo.c_str(), mcc, mnc); m_hss_log->info("HSS Initialized. DB file %s, authentication algorithm %s, MCC: %d, MNC: %d\n", hss_args->db_file.c_str(),hss_args->auth_algo.c_str(), mcc, mnc);

@ -1382,8 +1382,8 @@ s1ap_nas_transport::handle_authentication_failure(srslte::byte_buffer_t *nas_msg
m_s1ap_log->info("Non-EPS authentication unacceptable\n"); m_s1ap_log->info("Non-EPS authentication unacceptable\n");
break; break;
case 21: case 21:
m_s1ap_log->console("Sequence number synch failure\n"); m_s1ap_log->console("Authentication Failure -- Synchronization Failure\n");
m_s1ap_log->info("Sequence number synch failure\n"); m_s1ap_log->info("Authentication Failure -- Synchronization Failure\n");
if(auth_fail.auth_fail_param_present == false){ if(auth_fail.auth_fail_param_present == false){
m_s1ap_log->error("Missing fail parameter\n"); m_s1ap_log->error("Missing fail parameter\n");
return false; return false;

Loading…
Cancel
Save