aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_vty.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-01 17:51:07 +0100
committerHarald Welte <laforge@osmocom.org>2020-12-01 18:01:43 +0100
commit0ff12ad0ba80ccb4471420469c4bd7a9db8ef817 (patch)
tree801628db7be37d48406aa67ef0101f3edbf73e0d /src/gb/gprs_ns2_vty.c
parenta20248a36130b1d892f3f725118a559d3a1bd6d6 (diff)
gprs_ns2: Print link layer and global ALIVE/DEAD state
Diffstat (limited to 'src/gb/gprs_ns2_vty.c')
-rw-r--r--src/gb/gprs_ns2_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index bfbc68cd..7b27a7e5 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -272,8 +272,8 @@ static void dump_nse(struct vty *vty, const struct gprs_ns2_nse *nse, bool stats
{
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) {