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 <[email protected]>
Gerrit-Reviewer: dexter <[email protected]>

Reply via email to