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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/16338 )
Change subject: common/vty.c: get rid of generic exit / end commands
......................................................................
common/vty.c: get rid of generic exit / end commands
Those commands are now handled by libosmovty itself.
Change-Id: I425f9058ae15de929e2ba0283d4057bdf767aeeb
---
M src/common/vty.c
1 file changed, 0 insertions(+), 42 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/common/vty.c b/src/common/vty.c
index b32b39b..1be0ac0 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -125,48 +125,6 @@
}
}
-gDEFUN(ournode_exit, ournode_exit_cmd, "exit",
- "Exit current node, go down to provious node")
-{
- switch (vty->node) {
- case PHY_INST_NODE:
- vty->node = PHY_NODE;
- {
- struct phy_instance *pinst = vty->index;
- vty->index = pinst->phy_link;
- }
- break;
- case PHY_NODE:
- vty->node = CONFIG_NODE;
- vty->index = NULL;
- break;
- case TRX_NODE:
- vty->node = BTS_NODE;
- {
- struct gsm_bts_trx *trx = vty->index;
- vty->index = trx->bts;
- }
- break;
- default:
- break;
- }
- return CMD_SUCCESS;
-}
-
-gDEFUN(ournode_end, ournode_end_cmd, "end",
- "End current mode and change to enable mode")
-{
- switch (vty->node) {
- default:
- vty_config_unlock(vty);
- vty->node = ENABLE_NODE;
- vty->index = NULL;
- vty->index_sub = NULL;
- break;
- }
- return CMD_SUCCESS;
-}
-
static const char osmobts_copyright[] =
"Copyright (C) 2010, 2011 by Harald Welte, Andreas Eversberg and On-Waves\r\n"
"License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>\r\n"
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/16338
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I425f9058ae15de929e2ba0283d4057bdf767aeeb
Gerrit-Change-Number: 16338
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200112/dd1ebd7e/attachment.htm>