From 6ffca132c181efa2a05fe3e0e954a430f4072a13 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 4 Sep 2010 11:15:27 +0800 Subject: 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. --- openbsc/src/common_vty.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src') 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: -- cgit v1.2.3