Project

General

Profile

Actions

Bug #5581

closed

osmo_stream_srv_link_get_sockname() only supports showing 1st IP address

Added by pespin almost 2 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/16/2022
Due date:
% Done:

100%

Spec Reference:

Description

osmo_stream_cli_get_sockname API has a similar issue. osmo_stream_srv_get_sockname doesn't exist, but when adding it this ticket should be taken into account (see #5580).

The osmo_stream API allows setting up SCTP sockets, which support multihomin. The osmo_stream API already supports setting several addresses and using them. However, if an SCTP socket is setup with multiple local IP addresses, osmo_stream_cli_get_sockname() will only return the first one in the string returned. This is misleading and should be fixed.

I had to manually check /proc/net/sctp/eps to see the issue.


Related issues

Related to libosmo-netif - Feature #5580: Missing API: osmo_stream_srv_get_sockname()Resolvedpespin06/16/2022

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)