pdcp_log->error("Error inserting PDCP entity into array\n.");
gotoexit;
}
// erase from old position
pdcp_array.erase(it);
pdcp_log->warning("Changed LCID of PDCP bearer from %d to %d\n",old_lcid,new_lcid);
}else{
pdcp_log->error("Can't change PDCP of bearer %s from %d to %d. Bearer doesn't exist or new LCID already occupied.\n",rrc->get_rb_name(old_lcid).c_str(),old_lcid,new_lcid);
rlc_log->error("Error inserting RLC entity into array\n.");
gotoexit;
}
// erase from old position
rlc_array.erase(it);
rlc_log->warning("Changed LCID of RLC bearer from %d to %d\n",old_lcid,new_lcid);
}else{
rlc_log->error("Can't change LCID of bearer %s from %d to %d. Bearer doesn't exist or new LCID already occupied.\n",rrc->get_rb_name(old_lcid).c_str(),old_lcid,new_lcid);