Change in libosmo-sccp[master]: don't log "SCTP connection close" if an IPA/TCP connection closes

laforge gerrit-no-reply at lists.osmocom.org
Sun Apr 25 15:33:05 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/23892 )


Change subject: don't log "SCTP connection close" if an IPA/TCP connection closes
......................................................................

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
---
M src/osmo_ss7.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/92/23892/1

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 @@
 {
 	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;

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/23892
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I506ccc2665a6b0af0fde3961e7e7937af7a81219
Gerrit-Change-Number: 23892
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210425/35703e01/attachment.htm>


More information about the gerrit-log mailing list