don't log "SCTP connection close" if an IPA/TCP connection closes

The xua_srv_conn_closed_cb() function is shared/generic.  Let's simply
write "connection closed" to avoid any confusion.  As the ASP name is
printed, it should be clear which L4 protocol was used.

Change-Id: I506ccc2665a6b0af0fde3961e7e7937af7a81219
This commit is contained in:
Harald Welte 2021-04-25 15:44:16 +02:00
parent fe770ee0b1
commit f414447bfd
1 changed files with 1 additions and 2 deletions

View File

@ -1834,8 +1834,7 @@ static int xua_srv_conn_closed_cb(struct osmo_stream_srv *srv)
{
struct osmo_ss7_asp *asp = osmo_stream_srv_get_data(srv);
LOGP(DLSS7, LOGL_INFO, "%s: SCTP connection closed\n",
asp ? asp->cfg.name : "?");
LOGP(DLSS7, LOGL_INFO, "%s: connection closed\n", asp ? asp->cfg.name : "?");
if (!asp)
return 0;