Commit a15b6408 authored by Niuhaiwen's avatar Niuhaiwen

fix some bug

parent 0e877cb5
...@@ -21,18 +21,18 @@ ...@@ -21,18 +21,18 @@
NRF = NRF =
{ {
INSTANCE = @INSTANCE@; # 0 is the default INSTANCE = 0; # 0 is the default
PID_DIRECTORY = "@PID_DIRECTORY@"; # /var/run is the default PID_DIRECTORY = "/var/run"; # /var/run is the default
SBI_INTERFACE : SBI_INTERFACE :
{ {
# NRF binded interface for SBI interface (e.g., communication with other NFs e.g., AMF, SMF, UDM) # NRF binded interface for SBI interface (e.g., communication with other NFs e.g., AMF, SMF, UDM)
INTERFACE_NAME = "@NRF_INTERFACE_NAME_FOR_SBI@"; # YOUR NETWORK CONFIG HERE INTERFACE_NAME = "ens33"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "read"; IPV4_ADDRESS = "read";
PORT = @NRF_INTERFACE_PORT_FOR_SBI@; # YOUR NETWORK CONFIG HERE (default: 80) PORT = 80; # YOUR NETWORK CONFIG HERE (default: 80)
HTTP2_PORT = @NRF_INTERFACE_HTTP2_PORT_FOR_SBI@; # YOUR NETWORK CONFIG HERE HTTP2_PORT = 9090; # YOUR NETWORK CONFIG HERE
API_VERSION = "@NRF_API_VERSION@"; # YOUR NRF API VERSION CONFIG HERE API_VERSION = "v1"; # YOUR NRF API VERSION CONFIG HERE
}; };
}; };
......
...@@ -1062,6 +1062,7 @@ void nrf_app::get_subscription_list( ...@@ -1062,6 +1062,7 @@ void nrf_app::get_subscription_list(
s.second.get()->get_sub_condition(condition); s.second.get()->get_sub_condition(condition);
switch (condition.type) { switch (condition.type) {
Logger::nrf_app().debug("\tthe condition,type is %d",condition.type);
case NF_INSTANCE_ID_COND: { case NF_INSTANCE_ID_COND: {
if (profile_id.compare(condition.nf_instance_id) == 0) { if (profile_id.compare(condition.nf_instance_id) == 0) {
uris.push_back(uri); uris.push_back(uri);
......
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