aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gb_proxy_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs/gb_proxy_main.c')
-rw-r--r--src/gprs/gb_proxy_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs/gb_proxy_main.c b/src/gprs/gb_proxy_main.c
index 9f9c6051e..6f624006f 100644
--- a/src/gprs/gb_proxy_main.c
+++ b/src/gprs/gb_proxy_main.c
@@ -51,6 +51,7 @@
#include <osmocom/vty/logging.h>
#include <osmocom/vty/stats.h>
#include <osmocom/vty/ports.h>
+#include <osmocom/vty/misc.h>
#include "../../bscconfig.h"
@@ -256,6 +257,7 @@ int main(int argc, char **argv)
tall_bsc_ctx = talloc_named_const(NULL, 0, "nsip_proxy");
msgb_talloc_ctx_init(tall_bsc_ctx, 0);
+ vty_info.tall_ctx = tall_bsc_ctx;
signal(SIGINT, &signal_handler);
signal(SIGTERM, &signal_handler);
@@ -269,6 +271,7 @@ int main(int argc, char **argv)
vty_info.copyright = openbsc_copyright;
vty_init(&vty_info);
logging_vty_add_cmds(NULL);
+ osmo_talloc_vty_add_cmds();
osmo_stats_vty_add_cmds(&gprs_log_info);
gbproxy_vty_init();