commit | 7653d351a5cdd99c055a2412ba2ecd0477442fa1 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Sat Sep 04 11:15:27 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Sat Sep 04 11:15:27 2010 +0800 |
tree | 315aa82b97d5ee950a77e510c752995930ef19f9 | |
parent | ba289d047f889bb9f7cb4a9ac22bfa565c252ad7 [diff] [blame] |
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.
diff --git a/openbsc/src/common_vty.c b/openbsc/src/common_vty.c index 9d22146..b2a394f 100644 --- a/openbsc/src/common_vty.c +++ b/openbsc/src/common_vty.c
@@ -191,6 +191,7 @@ /* add items that are not config */ case OML_NODE: case SUBSCR_NODE: + case CONFIG_NODE: return 0; default: