Change in osmo-bts[master]: vty: fix error messages in lchan specific commands

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Jan 20 22:06:08 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/22344 )

Change subject: vty: fix error messages in lchan specific commands
......................................................................

vty: fix error messages in lchan specific commands

Change-Id: Ic0fba0605fc8a3ffa044f65fdad03b95e7cd8331
---
M src/common/vty.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/vty.c b/src/common/vty.c
index 689ae58..a0ebfae 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1965,7 +1965,7 @@
 
 	lchan = resolve_lchan(net, argv, 0);
 	if (!lchan) {
-		vty_out(vty, "%% can't find BTS%s", VTY_NEWLINE);
+		vty_out(vty, "%% Could not resolve logical channel%s", VTY_NEWLINE);
 		return CMD_WARNING;
 	}
 	if (!lchan->abis_ip.rtp_socket) {
@@ -1996,7 +1996,7 @@
 
 	lchan = resolve_lchan(net, argv, 0);
 	if (!lchan) {
-		vty_out(vty, "%% can't find BTS%s", VTY_NEWLINE);
+		vty_out(vty, "%% Could not resolve logical channel%s", VTY_NEWLINE);
 		return CMD_WARNING;
 	}
 	lchan->loopback = 1;
@@ -2014,7 +2014,7 @@
 
 	lchan = resolve_lchan(net, argv, 0);
 	if (!lchan) {
-		vty_out(vty, "%% can't find BTS%s", VTY_NEWLINE);
+		vty_out(vty, "%% Could not resolve logical channel%s", VTY_NEWLINE);
 		return CMD_WARNING;
 	}
 	lchan->loopback = 0;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/22344
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ic0fba0605fc8a3ffa044f65fdad03b95e7cd8331
Gerrit-Change-Number: 22344
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210120/e7501173/attachment.htm>


More information about the gerrit-log mailing list