Commit f7b97b79 authored by Niuhaiwen's avatar Niuhaiwen

fix bug of SD

parent 4caa5748
......@@ -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
};
......
......@@ -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));
......
......@@ -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("none"))
if(charSd.compare("none") && charSd.compare("None"))
{
sdIsSet = true;
sd = fromString<int>(charSd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment