aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-04 11:15:27 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-04 11:15:27 +0800
commit6ffca132c181efa2a05fe3e0e954a430f4072a13 (patch)
tree315aa82b97d5ee950a77e510c752995930ef19f9 /openbsc/src
parent81506b4095cf4bdb0c1c1e59fc271fc2aa3faa51 (diff)
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.
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/common_vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/common_vty.c b/openbsc/src/common_vty.c
index 9d2214675..b2a394fc3 100644
--- a/openbsc/src/common_vty.c
+++ b/openbsc/src/common_vty.c
@@ -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: