From 1e361301d1a330884eff3fead80e8ccf92908894 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sun, 28 Feb 2016 00:54:27 +0100 Subject: cscn_main.c: fix ctrl init Include control_vty.h so that ctrl_vty_get_bind_addr() is properly declared. Add ctrl iface vty commands. --- openbsc/src/osmo-cscn/cscn_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/osmo-cscn/cscn_main.c') diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c index 82aca2239..21ca01ec4 100644 --- a/openbsc/src/osmo-cscn/cscn_main.c +++ b/openbsc/src/osmo-cscn/cscn_main.c @@ -58,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -342,6 +343,7 @@ int main(int argc, char **argv) return -ENOMEM; vty_init(&cscn_vty_info); + ctrl_vty_init(tall_cscn_ctx); bsc_vty_init(&log_info, cscn_network); rc = vty_read_config_file(cscn_cmdline_config.config_file, NULL); if (rc < 0) { -- cgit v1.2.3