Change in libosmo-sccp[master]: osmo_ss7: Log route destruction (like we log route creation)

laforge gerrit-no-reply at lists.osmocom.org
Mon Apr 26 08:54:44 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/23893 )

Change subject: osmo_ss7: Log route destruction (like we log route creation)
......................................................................

osmo_ss7: Log route destruction (like we log route creation)

Change-Id: I503cc97db5f907610074cb513299a3a8505e00e5
---
M src/osmo_ss7.c
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 0b11f11..7021fa8 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -809,7 +809,13 @@
 /*! \brief Destroy a given SS7 route */
 void osmo_ss7_route_destroy(struct osmo_ss7_route *rt)
 {
+	struct osmo_ss7_route_table *rtbl = rt->rtable;
+
 	OSMO_ASSERT(ss7_initialized);
+
+	LOGSS7(rtbl->inst, LOGL_INFO, "Destroying route: pc=%u=%s mask=0x%x via linkset/ASP '%s'\n",
+	       rt->cfg.pc, osmo_ss7_pointcode_print(rtbl->inst, rt->cfg.pc), rt->cfg.mask, rt->cfg.linkset_name);
+
 	llist_del(&rt->list);
 	talloc_free(rt);
 }

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

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I503cc97db5f907610074cb513299a3a8505e00e5
Gerrit-Change-Number: 23893
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210426/7dd71c56/attachment.htm>


More information about the gerrit-log mailing list