Commit 9c712993 authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'smf_profile_update' into 'develop'

profile update for attribute Ip Endpoint

See merge request oai/cn5g/oai-cn5g-smf!102
parents d48215da 3de2c81d
......@@ -2145,6 +2145,7 @@ void smf_app::generate_smf_profile() {
endpoint.ipv4_address = addrs[0]; // TODO: use first IP ADDR for now
endpoint.transport = "TCP";
endpoint.port = smf_cfg.sbi.port;
if (smf_cfg.http_version == 2) endpoint.port = smf_cfg.sbi_http2_port;
nf_service.ip_endpoints.push_back(endpoint);
nf_instance_profile.add_nf_service(nf_service);
......
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