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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Jan 20 21:35:50 UTC 2021


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



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/44/22344/1

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: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210120/bd1730df/attachment.htm>


More information about the gerrit-log mailing list