aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 10:10:33 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:11 +0800
commit32d343644d88b10524b2746e0b2bf3c59be99f16 (patch)
treee2a65777c8b34a69cd10553a0bb8f6f1e000ec35 /openbsc/src/nat/bsc_nat_vty.c
parentf05506ecebffc9c87129df7c74bae510c235c860 (diff)
nat: Print the MSC multiplex as well
Diffstat (limited to 'openbsc/src/nat/bsc_nat_vty.c')
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index 3a468e9fa..2ec5e3498 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -75,10 +75,12 @@ DEFUN(show_sccp, show_sccp_cmd, "show connections sccp",
{
struct sccp_connections *con;
llist_for_each_entry(con, &_nat->sccp_connections, list_entry) {
- vty_out(vty, "SCCP for BSC: %d BSC ref: %u Local ref: %u%s",
+ vty_out(vty, "SCCP for BSC: %d BSC ref: %u Local ref: %u MSC/BSC mux: 0x%x/0x%x%s",
con->bsc->lac,
sccp_src_ref_to_int(&con->real_ref),
- sccp_src_ref_to_int(&con->patched_ref), VTY_NEWLINE);
+ sccp_src_ref_to_int(&con->patched_ref),
+ con->msc_timeslot, con->bsc_timeslot,
+ VTY_NEWLINE);
}
return CMD_SUCCESS;