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