bsc_hack: Use libctrl, listen on port 4249
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index e548a95..cbc6190 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -207,6 +207,8 @@
void talloc_ctx_init(void);
+extern int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
+
extern enum node_type bsc_vty_go_parent(struct vty *vty);
static struct vty_app_info vty_info = {
@@ -251,6 +253,7 @@
exit(1);
bsc_api_init(bsc_gsmnet, msc_bsc_api());
+ controlif_setup(bsc_gsmnet, 4249);
/* seed the PRNG */
srand(time(NULL));