pespin submitted this change.
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(-)
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);
To view, visit change 40542. To unsubscribe, or for help writing mail filters, visit settings.