Project

General

Profile

Actions

Bug #5581

open

osmo_stream_srv_link_get_sockname() only supports showing 1st IP address

Added by pespin 13 days ago.

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

0%

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()New06/16/2022

Actions
Actions #1

Updated by pespin 13 days ago

  • Related to Feature #5580: Missing API: osmo_stream_srv_get_sockname() added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)