aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 18:03:39 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:11 +0800
commit560af50422e43b3c9e26e911bec41a37c2c2834f (patch)
tree3afe8739d4780455723743bdf2c167b28c3cc40c /openbsc
parent3f7c7d07d8d8df9463772bfbe9b4b01e89ae6e3e (diff)
nat: Print the SCCP ref's as hex numbers
This allows to more easily compare the numbers with traces seen in wireshark.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index 2ec5e3498..ad33fd6fb 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -75,7 +75,7 @@ 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 MSC/BSC mux: 0x%x/0x%x%s",
+ vty_out(vty, "SCCP for BSC: %d BSC ref: 0x%x Local ref: 0x%x 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),