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
8096aaa3
Commit
8096aaa3
authored
Aug 05, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs
parent
fec5f8fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+6
-0
No files found.
src/amf-app/amf_n2.cpp
View file @
8096aaa3
...
@@ -1190,6 +1190,9 @@ void amf_n2::handle_itti_message(itti_dl_nas_transport& dl_nas_transport) {
...
@@ -1190,6 +1190,9 @@ void amf_n2::handle_itti_message(itti_dl_nas_transport& dl_nas_transport) {
if
(
!
amf_n2_inst
->
curl_http_client_udsf
(
udsf_url
,
""
,
"GET"
,
udsf_response
)){
if
(
!
amf_n2_inst
->
curl_http_client_udsf
(
udsf_url
,
""
,
"GET"
,
udsf_response
)){
Logger
::
amf_n2
().
error
(
"No existing ue_ngap context with ran_ue_ngap_id "
);
Logger
::
amf_n2
().
error
(
"No existing ue_ngap context with ran_ue_ngap_id "
);
return
;
return
;
}
else
if
(
udsf_response
.
dump
().
length
()
<
8
){
Logger
::
amf_n2
().
error
(
"No existing ue_ngap context with ran_ue_ngap_id ..."
);
return
;
}
}
Logger
::
amf_n2
().
debug
(
"udsf_response: %s"
,
udsf_response
.
dump
().
c_str
());
Logger
::
amf_n2
().
debug
(
"udsf_response: %s"
,
udsf_response
.
dump
().
c_str
());
//printf("---------------std::to_string(unc.get()->gnb_assoc_id) ----------------%s",std::to_string(unc.get()->gnb_assoc_id) );
//printf("---------------std::to_string(unc.get()->gnb_assoc_id) ----------------%s",std::to_string(unc.get()->gnb_assoc_id) );
...
@@ -1204,6 +1207,9 @@ void amf_n2::handle_itti_message(itti_dl_nas_transport& dl_nas_transport) {
...
@@ -1204,6 +1207,9 @@ void amf_n2::handle_itti_message(itti_dl_nas_transport& dl_nas_transport) {
if
(
!
amf_n2_inst
->
curl_http_client_udsf
(
udsf_url
,
""
,
"GET"
,
udsf_response
)){
if
(
!
amf_n2_inst
->
curl_http_client_udsf
(
udsf_url
,
""
,
"GET"
,
udsf_response
)){
Logger
::
amf_n2
().
error
(
"No existing gNG context with assoc_id (%d)"
,
unc
.
get
()
->
gnb_assoc_id
);
Logger
::
amf_n2
().
error
(
"No existing gNG context with assoc_id (%d)"
,
unc
.
get
()
->
gnb_assoc_id
);
return
;
return
;
}
else
if
(
udsf_response
.
dump
().
length
()
<
8
){
Logger
::
amf_n2
().
error
(
"No existing gNG context with assoc_id (%d) ..."
,
unc
.
get
()
->
gnb_assoc_id
);
return
;
}
}
Logger
::
amf_n2
().
debug
(
"udsf_response: %s"
,
udsf_response
.
dump
().
c_str
());
Logger
::
amf_n2
().
debug
(
"udsf_response: %s"
,
udsf_response
.
dump
().
c_str
());
gc
.
get
()
->
gnb_context_from_json
(
udsf_response
);
gc
.
get
()
->
gnb_context_from_json
(
udsf_response
);
...
...
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