From 7b8f6064d637d48ac2ca80036c310f7960f71784 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 5 Apr 2010 10:10:33 +0200 Subject: nat: Print the MSC multiplex as well --- openbsc/src/nat/bsc_nat_vty.c | 6 ++++-- 1 file 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; -- cgit v1.2.3