aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-25 16:28:45 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-25 16:32:32 +0100
commit0366e67f785c3a8917cdbb0459293bcf94f438e8 (patch)
tree646c25c3051fb26f131fc1b0a31c486b59322342 /openbsc
parentc3f0aeee30bcf6eb9aa40794d665bb5fd93c8ed9 (diff)
vty: For ipaccess we will dump if the OML connection is present
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/vty_interface.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index f2b77ffbe..f43e18d3e 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -227,11 +227,15 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts)
vty_out(vty, " Paging: %u pending requests, %u free slots%s",
paging_pending_requests_nr(bts),
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);