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);