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
31d7f390
Commit
31d7f390
authored
May 10, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(config): NSSF port number was not read from config file
parent
ab1aa4f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/amf-app/amf_config.cpp
src/amf-app/amf_config.cpp
+5
-1
No files found.
src/amf-app/amf_config.cpp
View file @
31d7f390
...
...
@@ -616,7 +616,11 @@ int amf_config::load(const std::string& config_file) {
util
::
trim
(
address
).
c_str
(),
nssf_ipv4_addr
,
"BAD IPv4 ADDRESS FORMAT FOR NSSF !"
);
nssf_addr
.
ipv4_addr
=
nssf_ipv4_addr
;
nssf_addr
.
port
=
nssf_port
;
if
(
!
(
nssf_cfg
.
lookupValue
(
AMF_CONFIG_STRING_PORT
,
nssf_port
)))
{
Logger
::
amf_app
().
error
(
AMF_CONFIG_STRING_PORT
"failed"
);
throw
(
AMF_CONFIG_STRING_PORT
"failed"
);
}
nssf_addr
.
port
=
nssf_port
;
nssf_addr
.
api_version
=
DEFAULT_SBI_API_VERSION
;
// TODO: get API version
}
...
...
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