Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF-Simple
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CommunityXG
OpenXG-SMF-Simple
Commits
9f793608
Commit
9f793608
authored
Jan 23, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for ePCO
parent
eef626ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
src/common/utils/3gpp_conversions.cpp
src/common/utils/3gpp_conversions.cpp
+12
-9
No files found.
src/common/utils/3gpp_conversions.cpp
View file @
9f793608
...
...
@@ -103,15 +103,18 @@ 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;
unsigned
char
data
[
512
]
=
{
'\0'
};
memcpy
(
(
void
*
)
&
data
,
(
void
*
)
pco_nas
.
protocol_or_container_ids
[
i
].
contents
->
data
,
pco_nas
.
protocol_or_container_ids
[
i
].
contents
->
slen
);
std
::
string
msg_bstr
(
(
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
;
if
(
pco_nas
.
protocol_or_container_ids
[
i
].
contents
!=
nullptr
)
{
unsigned
char
data
[
512
]
=
{
'\0'
};
memcpy
(
(
void
*
)
&
data
,
(
void
*
)
pco_nas
.
protocol_or_container_ids
[
i
].
contents
->
data
,
pco_nas
.
protocol_or_container_ids
[
i
].
contents
->
slen
);
std
::
string
msg_bstr
(
(
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment