[PATCH 2/3] vty: Refactored vty_go_parent(), 'end' and 'exit'

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
Sun Sep 8 08:48:05 UTC 2013


On Fri, Sep 06, 2013 at 04:51:59PM +0200, Jacob Erlbeck wrote:
> +	enum node_type last_node = CONFIG_NODE;
> +
> +	if (vty->node > ENABLE_NODE) {

I moved the enum in here but that doesn't really change anything.
Maybe we should have a <= ENABLE_NODE and exit early? But that is
not important.






More information about the OpenBSC mailing list