diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-28 00:54:27 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:12 +0100 |
commit | 1e361301d1a330884eff3fead80e8ccf92908894 (patch) | |
tree | 937129294e1d0890fc6e786cdcc226aa7bc4cad9 /openbsc/src/osmo-cscn/cscn_main.c | |
parent | 9e8322ca0caa863d97d2daa257d4acf21f84dd79 (diff) |
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.
Diffstat (limited to 'openbsc/src/osmo-cscn/cscn_main.c')
-rw-r--r-- | openbsc/src/osmo-cscn/cscn_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <openbsc/handover_decision.h> #include <openbsc/rrlp.h> #include <osmocom/ctrl/control_if.h> +#include <osmocom/ctrl/control_vty.h> #include <osmocom/ctrl/ports.h> #include <openbsc/ctrl.h> #include <openbsc/osmo_bsc_rf.h> @@ -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) { |