Commit 9f793608 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix issue for ePCO

parent eef626ec
......@@ -103,6 +103,7 @@ void xgpp_conv::protocol_configuration_options_nas_to_core(
// pco_nas.protocol_or_container_ids[i].length;
// pco.protocol_or_container_ids[i].protocol_id =
// pco_nas.protocol_or_container_ids[i].id;
if (pco_nas.protocol_or_container_ids[i].contents != nullptr) {
unsigned char data[512] = {'\0'};
memcpy(
(void*) &data,
......@@ -112,6 +113,8 @@ void xgpp_conv::protocol_configuration_options_nas_to_core(
(char*) data, pco_nas.protocol_or_container_ids[i].contents->slen);
// pco.protocol_or_container_ids[i].protocol_id_contents = msg_bstr;
pco_item.protocol_id_contents = msg_bstr;
}
pco.protocol_or_container_ids.push_back(pco_item);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment