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
f7b97b79
Commit
f7b97b79
authored
Jul 27, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug of SD
parent
4caa5748
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
etc/register+stateless.conf
etc/register+stateless.conf
+1
-1
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+1
-0
src/ngap/ngapIEs/S-NSSAI.cpp
src/ngap/ngapIEs/S-NSSAI.cpp
+1
-1
No files found.
etc/register+stateless.conf
View file @
f7b97b79
...
...
@@ -62,7 +62,7 @@ AMF =
{
INTERFACE_NAME
=
"ens34"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
PORT
=
38414
;
# YOUR NETWORK CONFIG HERE
PORT
=
9999
;
# YOUR NETWORK CONFIG HERE
PPID
=
60
;
# YOUR NETWORK CONFIG HERE
};
...
...
src/amf-app/amf_n1.cpp
View file @
f7b97b79
...
...
@@ -1066,6 +1066,7 @@ void amf_n1::service_request_handle(bool isNasSig,
if
(
pdu_session_status
==
0x0000
)
{
serApt
->
setPDU_session_status
(
0x0000
);
}
else
{
//serApt->setPDU_session_status(0x0000);
serApt
->
setPDU_session_status
(
pdu_session_status
);
Logger
::
amf_n1
().
debug
(
"setting pdu session status 0x%02x"
,
htonl
(
pdu_session_status
));
...
...
src/ngap/ngapIEs/S-NSSAI.cpp
View file @
f7b97b79
...
...
@@ -89,7 +89,7 @@ void S_NSSAI::getSst(std::string& charSst) {
//------------------------------------------------------------------------------
void
S_NSSAI
::
setSd
(
const
std
::
string
charSd
)
{
if
(
charSd
.
compare
(
"none"
)
&&
charSd
.
compare
(
"
n
one"
))
if
(
charSd
.
compare
(
"none"
)
&&
charSd
.
compare
(
"
N
one"
))
{
sdIsSet
=
true
;
sd
=
fromString
<
int
>
(
charSd
);
...
...
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