Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
OpenXG
OpenXG-SMF
Commits
9ff8681d
Commit
9ff8681d
authored
Feb 11, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue when restart SMF (with NRF)
parent
0c2292c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/smf_app/smf_app.cpp
src/smf_app/smf_app.cpp
+6
-4
No files found.
src/smf_app/smf_app.cpp
View file @
9ff8681d
...
...
@@ -343,15 +343,17 @@ smf_app::smf_app(const std::string& config_file)
start_upf_association
(
*
it
);
}
// Register to NRF (if this option is enabled)
if
(
smf_cfg
.
register_nrf
)
register_to_nrf
();
if
(
smf_cfg
.
discover_upf
)
{
// Trigger NFStatusNotify subscription to be noticed when a new UPF becomes
// available (if this option is enabled)
trigger_upf_status_notification_subscribe
();
}
// Register to NRF (if this option is enabled)
if
(
smf_cfg
.
register_nrf
)
{
unsigned
int
microsecond
=
10000
;
// 10ms
usleep
(
microsecond
);
trigger_upf_status_notification_subscribe
();
register_to_nrf
();
}
Logger
::
smf_app
().
startup
(
"Started"
);
...
...
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