diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-14 22:34:47 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-14 22:34:47 +0100 |
commit | b5bb75fbfd3bc41675f82e5d4a6daf2312820111 (patch) | |
tree | 0dd19efc4fe7f76b0cfc428f27ecf34954a07d99 /openbsc/src/vty_interface.c | |
parent | af5b88fb0786f8767f9aa7c5082048763a995136 (diff) |
rf: Remember the last command requested on the RF CMD interface
Diffstat (limited to 'openbsc/src/vty_interface.c')
-rw-r--r-- | openbsc/src/vty_interface.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index a1823f551..8c97d9a32 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -42,6 +42,7 @@ #include <openbsc/vty.h> #include <openbsc/ipaccess.h> #include <openbsc/paging.h> +#include <openbsc/osmo_bsc_rf.h> static struct gsm_network *gsmnet; @@ -164,6 +165,10 @@ static void net_dump_vty(struct vty *vty, struct gsm_network *net) vty_out(vty, "hr: %d ver: %d, ", net->audio_support[i]->hr, net->audio_support[i]->ver); vty_out(vty, "%s", VTY_NEWLINE); + + /* show rf */ + vty_out(vty, " Last RF Command: %s%s", + net->rf->last_state_command, VTY_NEWLINE); } DEFUN(show_net, show_net_cmd, "show network", |