gprs_ns2: Print link layer and global ALIVE/DEAD state

Change-Id: I56455d1fef2f99d72bc0c4811f307428aec12b96
This commit is contained in:
Harald Welte 2020-12-01 17:51:07 +01:00
parent a20248a361
commit 0ff12ad0ba
1 changed files with 2 additions and 2 deletions

View File

@ -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) {