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
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
OpenXG
OpenXG-SMF
Commits
e78d8e49
Commit
e78d8e49
authored
Nov 23, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix == operator for snssai_upf_info_item_s
parent
463a8415
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/common/smf.h
src/common/smf.h
+1
-1
src/smf_app/smf_pfcp_association.cpp
src/smf_app/smf_pfcp_association.cpp
+1
-1
No files found.
src/common/smf.h
View file @
e78d8e49
...
...
@@ -431,7 +431,7 @@ typedef struct snssai_upf_info_item_s {
}
bool
operator
==
(
const
snssai_upf_info_item_s
&
s
)
const
{
return
snssai
==
s
.
snssai
;
return
(
snssai
==
s
.
snssai
)
and
(
dnn_upf_info_list
==
s
.
dnn_upf_info_list
)
;
}
size_t
operator
()(
const
snssai_upf_info_item_s
&
)
const
{
...
...
src/smf_app/smf_pfcp_association.cpp
View file @
e78d8e49
...
...
@@ -49,7 +49,7 @@ edge edge::from_upf_info(const upf_info_t& upf_info) {
snssai_upf_info_item_s
snssai_item
=
{};
Logger
::
smf_app
().
debug
(
"Edge from UPF info %s"
,
upf_info
.
to_string
().
c_str
());
"Edge from UPF info
, UPF info
%s"
,
upf_info
.
to_string
().
c_str
());
for
(
const
auto
&
snssai
:
upf_info
.
snssai_upf_info_list
)
{
snssai_item
.
snssai
=
snssai
.
snssai
;
...
...
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