diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-25 16:28:45 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-26 00:00:22 +0100 |
commit | d283db496fa75e9bb228b138b6bd3eef079ba673 (patch) | |
tree | 9cc88a32c970631a8d086f7833aa1e97a70ead06 /openbsc | |
parent | e17c030b765170baa810ab62981a0fa0409a7e57 (diff) |
vty: For ipaccess we will dump if the OML connection is present
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/bsc_vty.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsc/src/bsc_vty.c b/openbsc/src/bsc_vty.c index 02d8b03bf..ac66bcb36 100644 --- a/openbsc/src/bsc_vty.c +++ b/openbsc/src/bsc_vty.c @@ -243,11 +243,15 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts) net_dump_nmstate(vty, &bts->site_mgr.nm_state); vty_out(vty, " Paging: FIXME pending requests, %u free slots%s", bts->paging.available_slots, VTY_NEWLINE); - if (!is_ipaccess_bts(bts)) { + if (is_ipaccess_bts(bts)) { + vty_out(vty, " OML Link state: %s.%s", + bts->oml_link ? "connected" : "disconnected", VTY_NEWLINE); + } else { vty_out(vty, " E1 Signalling Link:%s", VTY_NEWLINE); e1isl_dump_vty(vty, bts->oml_link); } - /* FIXME: oml_link, chan_desc */ + + /* FIXME: chan_desc */ memset(&pl, 0, sizeof(pl)); bts_chan_load(&pl, bts); vty_out(vty, " Current Channel Load:%s", VTY_NEWLINE); |