lte,enb,pdcp: fix addition of DRB logging in PDCP

master
Francisco 3 years ago committed by Francisco Paisana
parent 5b8d4c39af
commit 3c18e7c1f3

@ -129,7 +129,11 @@ int pdcp::add_bearer(uint32_t lcid, const pdcp_config_t& cfg)
valid_lcids_cached.insert(lcid);
}
logger.info("Add %s (lcid=%d, bearer_id=%d, sn_len=%dbits)", rrc->get_rb_name(lcid), lcid, cfg.bearer_id, cfg.sn_len);
logger.info("Add %s%d (lcid=%d, sn_len=%dbits)",
cfg.rb_type == PDCP_RB_IS_DRB ? "DRB" : "SRB",
cfg.bearer_id,
lcid,
cfg.sn_len);
return SRSRAN_SUCCESS;
}

Loading…
Cancel
Save