neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/31759 ) Change subject: vty: codec-list: fix error message ...................................................................... vty: codec-list: fix error message Change-Id: I89460229f894bfa67c6939dc3825f1865378d918 --- M src/osmo-bsc/bsc_vty.c M tests/msc.vty 2 files changed, 11 insertions(+), 2 deletions(-) Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index 8eff8de..e14aecb 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -2752,7 +2752,7 @@ /* prevent duplicate entries */ for (j = 0; j < i; j++) { if (gsm_audio_support_cmp(&tmp[j], &tmp[i]) == 0) { - vty_out(vty, "duplicate entry in 'msc' / 'codec-support': %s%s", argv[i], VTY_NEWLINE); + vty_out(vty, "duplicate entry in 'msc' / 'codec-list': %s%s", argv[i], VTY_NEWLINE); return CMD_WARNING; } } diff --git a/tests/msc.vty b/tests/msc.vty index 74eca2a..d67f2b9 100644 --- a/tests/msc.vty +++ b/tests/msc.vty @@ -53,7 +53,7 @@ ... OsmoBSC(config-msc)# codec-list fr1 fr1 -duplicate entry in 'msc' / 'codec-support': fr1 +duplicate entry in 'msc' / 'codec-list': fr1 OsmoBSC(config-msc)# show running-config ... msc 0 -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/31759 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: I89460229f894bfa67c6939dc3825f1865378d918 Gerrit-Change-Number: 31759 Gerrit-PatchSet: 3 Gerrit-Owner: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged