[PATCH] osmo-mgw[master]: vty: fix broken vty console

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Aug 30 12:27:40 UTC 2017


Review at  https://gerrit.osmocom.org/3747

vty: fix broken vty console

The VTY console hangs in OpenBSC MGCP(config-mgcp-trunk)# and there
is no way to exit from that.

Assign proper node numbers to MGCP_NODE and TRUNK_NODE in order
to prevent the VTY-Parser from getting lost.

Change-Id: I506c8c4b60af5af6a43268dff8025de7eaa59254
---
M include/osmocom/legacy_mgcp/vty.h
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/47/3747/1

diff --git a/include/osmocom/legacy_mgcp/vty.h b/include/osmocom/legacy_mgcp/vty.h
index ff0c405..c277c0a 100644
--- a/include/osmocom/legacy_mgcp/vty.h
+++ b/include/osmocom/legacy_mgcp/vty.h
@@ -16,7 +16,7 @@
 extern struct cmd_element cfg_no_description_cmd;
 
 enum mgcp_vty_node {
-	MGCP_NODE,
+	MGCP_NODE = _LAST_OSMOVTY_NODE + 1,
 	TRUNK_NODE,
 };
 

-- 
To view, visit https://gerrit.osmocom.org/3747
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I506c8c4b60af5af6a43268dff8025de7eaa59254
Gerrit-PatchSet: 1
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list