diff options
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -33,6 +33,7 @@ #include <osmocore/protocol/gsm_08_08.h> #include <osmocom/vty/vty.h> +#include <osmocom/vty/telnet_interface.h> #include <sys/stat.h> #include <sys/types.h> @@ -808,6 +809,7 @@ static void start_rest(void *start) int main(int argc, char **argv) { + int rc; INIT_LLIST_HEAD(&bsc.sccp_connections); bsc.dpc = 1; @@ -855,6 +857,10 @@ int main(int argc, char **argv) return -1; } + rc = telnet_init(NULL, NULL, 4242); + if (rc < 0) + return rc; + bsc.link.the_link = mtp_link_alloc(); bsc.link.the_link->dpc = bsc.dpc; bsc.link.the_link->opc = bsc.opc; |