aboutsummaryrefslogtreecommitdiffstats
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-04-05 10:10:33 +0200
commit7b8f6064d637d48ac2ca80036c310f7960f71784 (patch)
treeb6ba89f35856505ed196414a56ebf4ff7413b537
parentc6a1fe773d16eb20d4cb1d3097761419436f4537 (diff)
nat: Print the MSC multiplex as well
-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;