diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 18:03:39 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 18:03:39 +0200 |
commit | d9b825a5f5045adfdf50abe27d7bb50e6a7e0ed3 (patch) | |
tree | 0a279ad680d3a4d9720e5da002c135bd1b35a92f /openbsc | |
parent | b91e5f1da416ca3ab201b81df7f266af6b015db2 (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.c | 2 |
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), |