pdu: fix to_string() for TA command

the get_ta_cmd() is returning uint8_t which stringstream
interprets as ASCII character by default. So the log message is bogus.
This commit is contained in:
Andre Puschmann 2020-12-18 11:19:43 +01:00
parent 0ad0e9acac
commit c5514d7f80
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ std::string sch_subh::to_string()
ss << "CON_RES: id=0x" << std::hex << get_con_res_id() << std::dec;
break;
case dl_sch_lcid::TA_CMD:
ss << "TA: ta=" << get_ta_cmd();
ss << "TA: ta=" << std::to_string(get_ta_cmd());
break;
case dl_sch_lcid::SCELL_ACTIVATION_4_OCTET:
case dl_sch_lcid::SCELL_ACTIVATION: