pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40542?usp=email )
Change subject: as_vty: Fix 'traffic-mode loadshare' output in 'show running-config' ......................................................................
as_vty: Fix 'traffic-mode loadshare' output in 'show running-config'
Change-Id: I09ca977885cc4af5caf58f8036285ab321d00b05 --- M src/ss7_as_vty.c 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, but someone else must approve
diff --git a/src/ss7_as_vty.c b/src/ss7_as_vty.c index 9c5f7e2..c7658d1 100644 --- a/src/ss7_as_vty.c +++ b/src/ss7_as_vty.c @@ -435,15 +435,15 @@ vty_out(vty, " asp %s%s", asp->cfg.name, VTY_NEWLINE); } if (as->cfg.mode_set_by_vty) { - vty_out(vty, " traffic-mode %s%s", osmo_ss7_as_traffic_mode_name(as->cfg.mode), VTY_NEWLINE); + vty_out(vty, " traffic-mode %s", osmo_ss7_as_traffic_mode_name(as->cfg.mode)); if (as->cfg.mode == OSMO_SS7_AS_TMOD_LOADSHARE) { if (as->cfg.loadshare.opc_sls) { vty_out(vty, " bindings sls opc-sls"); if (as->cfg.loadshare.opc_shift != 0) vty_out(vty, " opc-shift %u", as->cfg.loadshare.opc_shift); } - vty_out(vty, "%s", VTY_NEWLINE); } + vty_out(vty, "%s", VTY_NEWLINE);
if (as->cfg.loadshare.sls_shift != 0) vty_out(vty, " sls-shift %u%s", as->cfg.loadshare.sls_shift, VTY_NEWLINE);