diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-04 02:34:10 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-04 02:34:10 +0800 |
commit | cbfd09843ac0fc1dc1c3bc2440c8d8fdfc39769b (patch) | |
tree | e6266d2c30ffda846636e15e6c2de5f25eec0502 /openbsc/src/nat/bsc_nat_vty.c | |
parent | a99c5b9d0fd33039235396515eba389cce549c61 (diff) |
nat: Show if we are connected to the MSC.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_vty.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c index c4d77f14f..d8af1c23f 100644 --- a/openbsc/src/nat/bsc_nat_vty.c +++ b/openbsc/src/nat/bsc_nat_vty.c @@ -178,6 +178,8 @@ static void dump_stat_total(struct vty *vty, struct bsc_nat *nat) counter_get(nat->stats.sccp.calls), VTY_NEWLINE); vty_out(vty, " MSC Connections %lu%s", counter_get(nat->stats.msc.reconn), VTY_NEWLINE); + vty_out(vty, " MSC Connected: %d%s", + nat->msc_con->is_connected, VTY_NEWLINE); vty_out(vty, " BSC Connections %lu total, %lu auth failed.%s", counter_get(nat->stats.bsc.reconn), counter_get(nat->stats.bsc.auth_fail), VTY_NEWLINE); |