commit | 6ffca132c181efa2a05fe3e0e954a430f4072a13 | [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 | 81506b4095cf4bdb0c1c1e59fc271fc2aa3faa51 [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.
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: