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
fba31da2
Commit
fba31da2
authored
Jul 27, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address CPP check issues
parent
352409cd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+6
-0
src/smf_app/smf_n1_n2.cpp
src/smf_app/smf_n1_n2.cpp
+1
-0
src/udp/udp.hpp
src/udp/udp.hpp
+2
-0
No files found.
src/smf_app/smf_context.cpp
View file @
fba31da2
...
...
@@ -1797,6 +1797,9 @@ void smf_context::handle_pdu_session_update_sm_context_request(
smreq
->
pid
,
N11_SESSION_UPDATE_SM_CONTEXT_RESPONSE
);
free_wrapper
((
void
**
)
&
qos_flow_description
);
free_wrapper
((
void
**
)
&
decoded_nas_msg
.
plain
.
sm
.
pdu_session_modification_request
.
qosflowdescriptions
.
qosflowdescriptionscontents
);
return
;
}
...
...
@@ -1840,6 +1843,9 @@ void smf_context::handle_pdu_session_update_sm_context_request(
//don't need to create a procedure to update UPF
free_wrapper
((
void
**
)
&
qos_flow_description
);
free_wrapper
((
void
**
)
&
decoded_nas_msg
.
plain
.
sm
.
pdu_session_modification_request
.
qosflowdescriptions
.
qosflowdescriptionscontents
);
}
break
;
...
...
src/smf_app/smf_n1_n2.cpp
View file @
fba31da2
...
...
@@ -732,6 +732,7 @@ bool smf_n1_n2::create_n2_sm_information(pdu_session_msg &msg,
or
(
qos_flow
.
qfi
.
qfi
>
QOS_FLOW_IDENTIFIER_LAST
))
{
//error
Logger
::
smf_app
().
error
(
"Incorrect QFI %d"
,
qos_flow
.
qfi
.
qfi
);
free_wrapper
((
void
**
)
&
ngap_IEs
);
return
false
;
}
...
...
src/udp/udp.hpp
View file @
fba31da2
...
...
@@ -63,6 +63,7 @@ public:
udp_server
(
const
struct
in_addr
&
address
,
const
uint16_t
port_num
)
:
app_
(
nullptr
),
port_
(
port_num
)
{
recv_buffer_
[
0
]
=
0
;
socket_
=
create_socket
(
address
,
port_
);
if
(
socket_
>
0
)
{
Logger
::
udp
().
debug
(
"udp_server::udp_server(%s:%d)"
,
conv
::
toString
(
address
).
c_str
(),
port_
);
...
...
@@ -92,6 +93,7 @@ public:
udp_server
(
const
char
*
address
,
const
uint16_t
port_num
)
:
app_
(
nullptr
),
port_
(
port_num
)
{
recv_buffer_
[
0
]
=
0
;
socket_
=
create_socket
(
address
,
port_
);
if
(
socket_
>
0
)
{
Logger
::
udp
().
debug
(
"udp_server::udp_server(%s:%d)"
,
address
,
port_
);
...
...
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