aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-16 02:15:19 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-16 02:49:12 +0800
commited1c872352040e2699766562e6c05d68d917fc7a (patch)
tree141344476b778cc9524d6bab9b25c3cbd555efb0 /openbsc
parente21bdea501d3c077f2148588091790def5bd0163 (diff)
[bsc_msc_ip] Print SCCP src/dst ref as hex
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/vty_interface_bsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/vty_interface_bsc.c b/openbsc/src/vty_interface_bsc.c
index 51a95a51..06ef75e2 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,