Change in libosmo-sccp[master]: Log ip:port for created SS7 server

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Nov 19 05:50:15 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11708 )

Change subject: Log ip:port for created SS7 server
......................................................................

Log ip:port for created SS7 server

Change-Id: If2ae093175d64000490a2be31ecfea265ca3853d
---
M src/osmo_ss7.c
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 73f8127..6fb8180 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -23,7 +23,7 @@
 #include <string.h>
 #include <errno.h>
 #include <unistd.h>
-
+#include <inttypes.h>
 #include <netdb.h>
 #include <netinet/in.h>
 #include <netinet/sctp.h>
@@ -1829,6 +1829,9 @@
 	osmo_stream_srv_link_set_port(oxs->server, oxs->cfg.local.port);
 	osmo_stream_srv_link_set_proto(oxs->server, asp_proto_to_ip_proto(proto));
 
+	LOGP(DLSS7, LOGL_INFO, "Created %s server on %s:%" PRIu16 "\n",
+		get_value_string(osmo_ss7_asp_protocol_vals, proto), local_host, local_port);
+
 	oxs->inst = inst;
 	llist_add_tail(&oxs->list, &inst->xua_servers);
 

-- 
To view, visit https://gerrit.osmocom.org/11708
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If2ae093175d64000490a2be31ecfea265ca3853d
Gerrit-Change-Number: 11708
Gerrit-PatchSet: 4
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181119/5c1996f5/attachment.htm>


More information about the gerrit-log mailing list