From fa1f9594cb8c2150b4c4a0983f45ed5f2aa6bfa8 Mon Sep 17 00:00:00 2001 From: Frederick Pelchat <52867085+frederickpelchat@users.noreply.github.com> Date: Fri, 22 Jan 2021 23:47:39 -0500 Subject: [PATCH] Fix Issue #615 Only first 8 bits of TAC passed by the ENB to the EPC --- srsepc/src/mme/s1ap_mngmt_proc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsepc/src/mme/s1ap_mngmt_proc.cc b/srsepc/src/mme/s1ap_mngmt_proc.cc index 79c147f9c..5a9d56ef5 100644 --- a/srsepc/src/mme/s1ap_mngmt_proc.cc +++ b/srsepc/src/mme/s1ap_mngmt_proc.cc @@ -78,7 +78,7 @@ bool s1ap_mngmt_proc::handle_s1_setup_request(const asn1::s1ap::s1_setup_request // Check for TAC match bool tac_match = false; - for (uint8_t tac : enb_ctx.tacs) { + for (uint16_t tac : enb_ctx.tacs) { if (m_s1ap->get_tac() == tac) { tac_match = true; break;