[MERGED] osmo-sgsn[master]: Log address on GTP creation

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
Fri Oct 27 18:34:04 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: Log address on GTP creation
......................................................................


Log address on GTP creation

Change-Id: Ic54a2ff835c9a0ceccf2f718f56371a881dd25b7
---
M src/gprs/sgsn_libgtp.c
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/src/gprs/sgsn_libgtp.c b/src/gprs/sgsn_libgtp.c
index 04735e2..1032230 100644
--- a/src/gprs/sgsn_libgtp.c
+++ b/src/gprs/sgsn_libgtp.c
@@ -836,6 +836,8 @@
 		LOGP(DGPRS, LOGL_ERROR, "Failed to create GTP: %d\n", rc);
 		return rc;
 	}
+	LOGP(DGPRS, LOGL_NOTICE, "Created GTP on %s\n", inet_ntoa(sgi->cfg.gtp_listenaddr.sin_addr));
+
 	gsn = sgi->gsn;
 
 	if (gsn->mode != GTP_MODE_SGSN)

-- 
To view, visit https://gerrit.osmocom.org/4452
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic54a2ff835c9a0ceccf2f718f56371a881dd25b7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list