diff options
author | Harald Welte <laforge@osmocom.org> | 2021-04-25 15:44:16 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-04-25 18:49:17 +0200 |
commit | f414447bfd2a73f38b4908e511dac2f39d1d5f21 (patch) | |
tree | c7b392fb5a87ea32a8699aca688903f7cf769571 | |
parent | fe770ee0b171c5e79b2951558932ce13301f8eff (diff) |
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
-rw-r--r-- | src/osmo_ss7.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c index 5ff4ca4..0b11f11 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; |