ISMI to IMSI typo

master
David Rupprecht 6 years ago committed by Andre Puschmann
parent 39c49ab1ef
commit dabf586316

@ -300,7 +300,7 @@ bool mme_gtpc::handle_create_session_response(srslte::gtpc_pdu* cs_resp_pdu)
// Save UE IP to nas ctxt // Save UE IP to nas ctxt
emm_ctx->ue_ip.s_addr = cs_resp->paa.ipv4; emm_ctx->ue_ip.s_addr = cs_resp->paa.ipv4;
m_mme_gtpc_log->console("SPGW Allocated IP %s to ISMI %015lu\n", inet_ntoa(emm_ctx->ue_ip), emm_ctx->imsi); m_mme_gtpc_log->console("SPGW Allocated IP %s to IMSI %015lu\n", inet_ntoa(emm_ctx->ue_ip), emm_ctx->imsi);
// Save SGW ctrl F-TEID in GTP-C context // Save SGW ctrl F-TEID in GTP-C context
std::map<uint64_t, struct gtpc_ctx>::iterator it_g = m_imsi_to_gtpc_ctx.find(imsi); std::map<uint64_t, struct gtpc_ctx>::iterator it_g = m_imsi_to_gtpc_ctx.find(imsi);

@ -80,7 +80,7 @@ int usim::init(usim_args_t *args, srslte::log *usim_log_)
imsi += imsi_c[i] - '0'; imsi += imsi_c[i] - '0';
} }
} else { } else {
usim_log->error("Invalid length for ISMI: %zu should be %d\n", args->imsi.length(), 15); usim_log->error("Invalid length for IMSI: %zu should be %d\n", args->imsi.length(), 15);
usim_log->console("Invalid length for IMSI: %zu should be %d\n", args->imsi.length(), 15); usim_log->console("Invalid length for IMSI: %zu should be %d\n", args->imsi.length(), 15);
} }

Loading…
Cancel
Save