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 <msur...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de>

Reply via email to