pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/39650?usp=email )
Change subject: Fix setting traffic-mode 'roundrobin' over VTY ......................................................................
Fix setting traffic-mode 'roundrobin' over VTY
String in osmo_ss7_as_traffic_mode_vals[] is "round-robin" while string in VTY command was "roundrobin", so it didn't really match when set over VTY. This has apparently broken for really long, I couldn't find the originating commit breaking this.
Use "roundrobin" (without dash) to match wording used in Cisco ITP.
Change-Id: I61340549c596f1c04bc2269dbc165c327bf72037 --- M src/osmo_ss7_as.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve
diff --git a/src/osmo_ss7_as.c b/src/osmo_ss7_as.c index 076cc35..ab48ca8 100644 --- a/src/osmo_ss7_as.c +++ b/src/osmo_ss7_as.c @@ -49,7 +49,7 @@ struct value_string osmo_ss7_as_traffic_mode_vals[] = { { OSMO_SS7_AS_TMOD_BCAST, "broadcast" }, { OSMO_SS7_AS_TMOD_LOADSHARE, "loadshare" }, - { OSMO_SS7_AS_TMOD_ROUNDROBIN, "round-robin" }, + { OSMO_SS7_AS_TMOD_ROUNDROBIN, "roundrobin" }, { OSMO_SS7_AS_TMOD_OVERRIDE, "override" }, { 0, NULL } };