pespin has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran 
refs/changes/42/40542/1

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 https://gerrit.osmocom.org/c/libosmo-sigtran/+/40542?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I09ca977885cc4af5caf58f8036285ab321d00b05
Gerrit-Change-Number: 40542
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to