iuh: Name stream_cli connection

This makes it easier to figure out the conn log lines.

Change-Id: I1503b322f8ff053088688b3088a70801d10b3d88
This commit is contained in:
Pau Espin 2024-03-12 11:31:56 +01:00
parent 4bc90a6be7
commit 9f2a584fb6
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ void hnb_iuh_alloc(struct hnb *hnb)
cli = osmo_stream_cli_create(hnb);
OSMO_ASSERT(cli);
hnb->iuh.client = cli;
osmo_stream_cli_set_name(cli, "Iuh");
osmo_stream_cli_set_nodelay(cli, true);
osmo_stream_cli_set_proto(cli, IPPROTO_SCTP);
osmo_stream_cli_set_reconnect_timeout(cli, 5);