lte: Change NS_ASSERT to NS_ASSERT_MSG to include cell id of the eNB

This commit is contained in:
ZorazeAli
2019-02-02 13:51:38 +01:00
parent e3a84e0354
commit e49cf80f51

View File

@@ -295,7 +295,7 @@ EpcEnbApplication::RecvFromS1uSocket (Ptr<Socket> socket)
packet->RemoveHeader (gtpu);
uint32_t teid = gtpu.GetTeid ();
std::map<uint32_t, EpsFlowId_t>::iterator it = m_teidRbidMap.find (teid);
NS_ASSERT (it != m_teidRbidMap.end ());
NS_ASSERT_MSG (it != m_teidRbidMap.end (), "cell id = " << m_cellId);
m_rxS1uSocketPktTrace (packet->Copy ());
SendToLteSocket (packet, it->second.m_rnti, it->second.m_bid);