From ed1c872352040e2699766562e6c05d68d917fc7a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 May 2010 02:15:19 +0800 Subject: [bsc_msc_ip] Print SCCP src/dst ref as hex --- openbsc/src/vty_interface_bsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsc/src/vty_interface_bsc.c b/openbsc/src/vty_interface_bsc.c index 51a95a517..06ef75e23 100644 --- a/openbsc/src/vty_interface_bsc.c +++ b/openbsc/src/vty_interface_bsc.c @@ -42,7 +42,7 @@ DEFUN(show_bsc, show_bsc_cmd, "show bsc", vty_out(vty, "BSC Information%s", VTY_NEWLINE); llist_for_each_entry(con, bsc_sccp_connections(), active_connections) { - vty_out(vty, " Connection: LCHAN: %p sec LCHAN: %p SCCP src: %d dest: %d%s", + vty_out(vty, " Connection: LCHAN: %p sec LCHAN: 0x%p SCCP src: 0x%x dest: 0x%x%s", con->lchan, con->secondary_lchan, con->sccp ? (int) sccp_src_ref_to_int(&con->sccp->source_local_reference) : -1, con->sccp ? (int) sccp_src_ref_to_int(&con->sccp->destination_local_reference) : -1, -- cgit v1.2.3