vty: CONFIG_NODE is the anchor and should not be treated as config.

This is fixing an assert in vty_go_parent due trying to go from
CONFIG_NODE to the parent.
This commit is contained in:
Holger Hans Peter Freyther 2010-09-04 11:15:27 +08:00
parent 81506b4095
commit 6ffca132c1
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ int bsc_vty_is_config_node(struct vty *vty, int node)
/* add items that are not config */
case OML_NODE:
case SUBSCR_NODE:
case CONFIG_NODE:
return 0;
default: