diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2017-12-14 16:15:20 +0100 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2018-01-30 18:59:28 +0100 |
commit | 8aef4862af7787ec363c348be28437c8dbf25c71 (patch) | |
tree | 6d59f37b6d32e1edc4c8a88ad01165e96db2b736 /openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | |
parent | 038a666af04beb2fc1f94276345cc30ed52847fd (diff) |
osmo-bsc_nat: Change nat_sccp_conection ref names
For the multi-msc support we also need to NAT the SCCP refs from the MSC
so clarify which real/patched ref belongs to which side of the
connection.
Change-Id: Idb964542b2172f0f293fa1b7e334d016e9e09461
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat_vty.c')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c index b68a91a43..20cacdb77 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c @@ -223,10 +223,10 @@ DEFUN(show_sccp, show_sccp_cmd, "show sccp connections", llist_for_each_entry(con, &_nat->sccp_connections, list_entry) { vty_out(vty, "For BSC Nr: %d BSC ref: 0x%x; MUX ref: 0x%x; Network has ref: %d ref: 0x%x MSC/BSC mux: 0x%x/0x%x type: %s%s", con->bsc->cfg ? con->bsc->cfg->nr : -1, - sccp_src_ref_to_int(&con->real_ref), - sccp_src_ref_to_int(&con->patched_ref), - con->has_remote_ref, - sccp_src_ref_to_int(&con->remote_ref), + sccp_src_ref_to_int(&con->bsc_real_ref), + sccp_src_ref_to_int(&con->bsc_patched_ref), + con->has_msc_ref, + sccp_src_ref_to_int(&con->msc_real_ref), con->msc_endp, con->bsc_endp, bsc_con_type_to_string(con->filter_state.con_type), VTY_NEWLINE); |