aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-26 15:38:42 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-26 16:55:37 +0800
commit7a2c86b67d6df9bc0ff132211f4fc6608f44131b (patch)
treedecbc1beeb5249c00e90fbe779bb26479cc5fadb /openbsc/src/bsc
parent2c869efcd3e01d7c111526a3efc140fae5b843af (diff)
vty: Provide a is_config_node for the VTY and use it for the bsc
Right now only bsc_hack and osmo_bsc need to have a custom config handling as they use the subscr/oml nodes.
Diffstat (limited to 'openbsc/src/bsc')
-rw-r--r--openbsc/src/bsc/osmo_bsc_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_main.c b/openbsc/src/bsc/osmo_bsc_main.c
index 7ddf91d26..e84450fa2 100644
--- a/openbsc/src/bsc/osmo_bsc_main.c
+++ b/openbsc/src/bsc/osmo_bsc_main.c
@@ -22,8 +22,8 @@
#include <openbsc/debug.h>
#include <openbsc/gsm_data.h>
#include <openbsc/osmo_bsc_rf.h>
+#include <openbsc/vty.h>
-#include <osmocom/vty/command.h>
#include <osmocore/talloc.h>
#include <osmocore/process.h>
@@ -137,6 +137,7 @@ static struct vty_app_info vty_info = {
.name = "OpenBSC Osmo BSC",
.version = PACKAGE_VERSION,
.go_parent_cb = bsc_vty_go_parent,
+ .is_config_node = bsc_vty_is_config_node,
};