Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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
OpenXG
OpenXG-AMF
Commits
eba03ac2
Commit
eba03ac2
authored
Apr 12, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debug log
parent
6c46f4a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+3
-0
No files found.
src/amf-app/amf_n2.cpp
View file @
eba03ac2
...
...
@@ -694,11 +694,14 @@ void amf_n2::handle_itti_message(itti_initial_ue_message& init_ue_msg) {
// Store InitialUEMessage for Rereoute NAS later
if
(
unc
.
get
()
->
initialUEMsg
.
buf
)
{
Logger
::
amf_n2
().
debug
(
"Store InitialUEMessage for Reroute NAS (if necessary)"
);
uint8_t
*
initial_ue_msg_buf
=
(
uint8_t
*
)
calloc
(
1
,
BUFFER_SIZE_1024
);
int
encoded_size
=
0
;
init_ue_msg
.
initUeMsg
->
encode2buffer
(
initial_ue_msg_buf
,
encoded_size
);
if
(
encoded_size
>
0
)
{
Logger
::
amf_n2
().
debug
(
"Encoded InitialUEMessage size %d"
,
encoded_size
);
memcpy
(
(
void
*
)
unc
.
get
()
->
initialUEMsg
.
buf
,
(
void
*
)
initial_ue_msg_buf
,
encoded_size
);
...
...
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