[S] Change in libosmo-sccp[master]: Set ASP name on related stream_cli
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/33334 ) Change subject: Set ASP name on related stream_cli ...................................................................... Set ASP name on related stream_cli Since recently, libosmo-netif makes use of that name when printing. Hence, let's use the already available osmo_stream_cli_set_name2() to set a specific name (osmo_stream_cli_set_name() sets name=""). Change-Id: I1618da8c5b146729eeb32da3f882534b98144514 --- M src/osmo_ss7.c 1 file changed, 14 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/34/33334/1 diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c index 3dc0d51..f5db687 100644 --- a/src/osmo_ss7.c +++ b/src/osmo_ss7.c @@ -1617,7 +1617,7 @@ asp->server = NULL; } if (!asp->client) - asp->client = osmo_stream_cli_create(asp); + asp->client = osmo_stream_cli_create2(asp, asp->cfg.name); if (!asp->client) { LOGPASP(asp, DLSS7, LOGL_ERROR, "Unable to create stream" " client for ASP %s\n", asp->cfg.name); -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/33334 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I1618da8c5b146729eeb32da3f882534b98144514 Gerrit-Change-Number: 33334 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
pespin