Commit 86e7cedd authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

Fix issue for sending NF registration/discovery

parent 5b21c545
...@@ -147,12 +147,12 @@ int main(int argc, char** argv) { ...@@ -147,12 +147,12 @@ int main(int argc, char** argv) {
// smf_api_server_2->start(); // smf_api_server_2->start();
std::thread smf_http2_manager(&smf_http2_server::start, smf_api_server_2); std::thread smf_http2_manager(&smf_http2_server::start, smf_api_server_2);
// Register to NRF and discover appropriate UPFs // Register to NRF and discover appropriate UPFs
smf_app_inst->start_nf_registration_discovery(); smf_app_inst->start_nf_registration_discovery();
FILE* fp = NULL; FILE* fp = NULL;
std::string filename = fmt::format("/tmp/smf_{}.status", getpid()); std::string filename = fmt::format("/tmp/smf_{}.status", getpid());
fp = fopen(filename.c_str(), "w+"); fp = fopen(filename.c_str(), "w+");
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