[PATCH 2/2] vty: Allow vty_go_parent() in all nodes.

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/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Tue Sep 10 09:06:49 UTC 2013


On Tue, Sep 10, 2013 at 09:07:32AM +0200, Jacob Erlbeck wrote:
>  /* return parent node */
> -/* MUST eventually converge on CONFIG_NODE */
> +/* 
> + * MUST eventually converge either on CONFIG_NODE for every config node or
> + * on CONFIG_ENABLE for every other user defined node.
> + */

The comment is wrong. There is no CONFIG_ENABLE node but the comment
sounds dangerous too. The ENABLE_NODE might be password protected and
I would like to avoid a situation where we come from a 'child' of the
VIEW_NODE and end in 'ENABLE_NODE'.





More information about the OpenBSC mailing list