From de936b30d1ec54b2e79a45a1835616adf66a3ae7 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 8 Mar 2018 16:17:13 +0000 Subject: [PATCH] Fixed small bug in send create session request. --- srsepc/src/mme/mme_gtpc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsepc/src/mme/mme_gtpc.cc b/srsepc/src/mme/mme_gtpc.cc index 608b29b6e..799bd8bfd 100644 --- a/srsepc/src/mme/mme_gtpc.cc +++ b/srsepc/src/mme/mme_gtpc.cc @@ -125,7 +125,7 @@ mme_gtpc::send_create_session_request(uint64_t imsi, bool pack_attach) //Check whether this UE is already registed std::map::iterator it = m_imsi_to_gtpc_ctx.find(imsi); - if(it == m_imsi_to_gtpc_ctx.end()) + if(it != m_imsi_to_gtpc_ctx.end()) { m_mme_gtpc_log->warning("Create Session Request being called for an UE with an active GTP-C connection.\n"); m_mme_gtpc_log->warning("Deleting previous GTP-C connection.\n");