From f414447bfd2a73f38b4908e511dac2f39d1d5f21 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 25 Apr 2021 15:44:16 +0200 Subject: [PATCH] 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 --- src/osmo_ss7.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c index 5ff4ca4d..0b11f11e 100644 --- a/src/osmo_ss7.c +++ b/src/osmo_ss7.c @@ -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;