Change in libosmocore[master]: gprs_ns2: Print link layer and global ALIVE/DEAD state

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
Tue Dec 1 17:02:03 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21428 )


Change subject: gprs_ns2: Print link layer and global ALIVE/DEAD state
......................................................................

gprs_ns2: Print link layer and global ALIVE/DEAD state

Change-Id: I56455d1fef2f99d72bc0c4811f307428aec12b96
---
M src/gb/gprs_ns2_vty.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/28/21428/1

diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index bfbc68c..7b27a7e 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -272,8 +272,8 @@
 {
 	struct gprs_ns2_vc *nsvc;
 
-	vty_out(vty, "NSEI %5u%s",
-		nse->nsei, VTY_NEWLINE);
+	vty_out(vty, "NSEI %05u: %s, %s%s", nse->nsei, gprs_ns2_lltype_str(nse->ll),
+		nse->alive ? "ALIVE" : "DEAD", VTY_NEWLINE);
 
 	gprs_ns2_sns_dump_vty(vty, nse, stats);
 	llist_for_each_entry(nsvc, &nse->nsvc, list) {

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I56455d1fef2f99d72bc0c4811f307428aec12b96
Gerrit-Change-Number: 21428
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201201/8f04ef67/attachment.htm>


More information about the gerrit-log mailing list