mirror of https://gerrit.osmocom.org/libosmocore
gprs_ns2: Print link layer and global ALIVE/DEAD state
Change-Id: I56455d1fef2f99d72bc0c4811f307428aec12b96
This commit is contained in:
parent
a20248a361
commit
0ff12ad0ba
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue