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-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-AMF-Simple
Commits
5d49427c
Commit
5d49427c
authored
Mar 04, 2021
by
dukl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs
parent
a91ae6c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+3
-1
src/nas/msgs/ServiceRequest.cpp
src/nas/msgs/ServiceRequest.cpp
+1
-0
No files found.
src/amf-app/amf_n1.cpp
View file @
5d49427c
...
...
@@ -604,7 +604,9 @@ void amf_n1::service_request_handle(
if
(
serReq
->
getNasMessageContainer
(
nas_container
)){
Logger
::
amf_n1
().
debug
(
"try to get pdu-session-status value from nas message container(length: %d)"
,
blength
(
nas_container
));
uint8_t
*
buf
=
(
uint8_t
*
)
bdata
(
nas_container
);
pdu_session_status
=
buf
[
19
]
<<
8
|
buf
[
20
];
ServiceRequest
*
tmp
=
new
ServiceRequest
();
tmp
->
decodefrombuffer
(
nullptr
,
(
uint8_t
*
)
bdata
(
nas_container
),
blength
(
nas_container
));
pdu_session_status
=
tmp
->
getPduSessionStatus
();
Logger
::
amf_n1
().
debug
(
"Get pdu-session-status value: 0x%x"
,
pdu_session_status
);
}
ServiceAccept
*
serApt
=
new
ServiceAccept
();
...
...
src/nas/msgs/ServiceRequest.cpp
View file @
5d49427c
...
...
@@ -35,6 +35,7 @@ using namespace nas;
//------------------------------------------------------------------------------
ServiceRequest
::
ServiceRequest
()
{
ie_nas_message_container
=
nullptr
;
ie_PDU_session_status
=
nullptr
;
}
//------------------------------------------------------------------------------
...
...
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