Change in osmo-bsc[master]: ipaccess_nanobts: Log ipaccess_sign_link_down event

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/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jul 16 12:02:19 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/19283 )

Change subject: ipaccess_nanobts: Log ipaccess_sign_link_down event
......................................................................

ipaccess_nanobts: Log ipaccess_sign_link_down event

Change-Id: I7c864e67fb2149685c687c137a59d567f5a03ca3
---
M src/osmo-bsc/bts_ipaccess_nanobts.c
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/bts_ipaccess_nanobts.c b/src/osmo-bsc/bts_ipaccess_nanobts.c
index b21678b..5b60367 100644
--- a/src/osmo-bsc/bts_ipaccess_nanobts.c
+++ b/src/osmo-bsc/bts_ipaccess_nanobts.c
@@ -604,6 +604,8 @@
 	struct gsm_bts *bts = NULL;
 	struct e1inp_sign_link *link;
 
+	LOGPIL(line, DLINP, LOGL_NOTICE, "Signalling link down\n");
+
 	llist_for_each_entry(link, &ts->sign.sign_links, list) {
 		/* Get bts pointer from the first element of the list. */
 		if (bts == NULL)
@@ -614,6 +616,8 @@
 	}
 	if (bts != NULL)
 		ipaccess_drop_oml(bts, "link down");
+	else
+		LOGPIL(line, DLINP, LOGL_NOTICE, "Signalling link down for unknown BTS\n");
 }
 
 /* This function is called if we receive one OML/RSL message. */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/19283
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I7c864e67fb2149685c687c137a59d567f5a03ca3
Gerrit-Change-Number: 19283
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200716/8dfcaff6/attachment.htm>


More information about the gerrit-log mailing list