pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/41451?usp=email )
Change subject: vty: Drop SS7 route info in 'show cnlink' ......................................................................
vty: Drop SS7 route info in 'show cnlink'
Route information is nowadays a complex topic which is mostly handled by libosmo-sigtran, and it can be configured and better queried using VTY commands also provided by libosmo-sigtran. This SS7 route information here is not relevant and moreover the API it uses is deprecated. Drop it.
Change-Id: I2b029e99da45408f9fed41f9f280d19eb646d548 --- M src/osmo-hnbgw/hnbgw_vty.c 1 file changed, 0 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved osmith: Looks good to me, but someone else must approve
diff --git a/src/osmo-hnbgw/hnbgw_vty.c b/src/osmo-hnbgw/hnbgw_vty.c index f463522..f1b128c 100644 --- a/src/osmo-hnbgw/hnbgw_vty.c +++ b/src/osmo-hnbgw/hnbgw_vty.c @@ -125,7 +125,6 @@
static void _show_cnlink(struct vty *vty, struct hnbgw_cnlink *cnlink) { - struct osmo_ss7_route *rt; struct osmo_ss7_instance *ss7;
if (!cnlink) { @@ -158,8 +157,6 @@ hnbgw_cnlink_sccp_addr_to_str(cnlink, &cnlink->remote_addr), VTY_NEWLINE);
- rt = osmo_ss7_route_lookup(ss7, cnlink->remote_addr.pc); - vty_out(vty, " SS7 route: %s%s", osmo_ss7_route_name(rt, true), VTY_NEWLINE); vty_out(vty, " RANAP state: %s%s", osmo_fsm_inst_state_name(cnlink->fi), VTY_NEWLINE); }