Unverified Commit 3de2c81d authored by kharade's avatar kharade

profile update for atrribute Ip Endpoint

parent d6da8700
......@@ -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