From 0fd13fcd3cb505008c042d0b99e257da1ff76c5a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 8 Nov 2017 15:06:15 +0100 Subject: mobile: Make VTY logging commands available to the mobile app So far logging_vty_add_cmds wasn't called. The main.c might be shared with other apps so place it into the routine that is setting up the VTY. Change-Id: I3db9cf288bce12f51e36caad44e9bc34094638f4 --- src/host/layer23/src/mobile/app_mobile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c index bd786b56..e3e948f3 100644 --- a/src/host/layer23/src/mobile/app_mobile.c +++ b/src/host/layer23/src/mobile/app_mobile.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -398,6 +399,7 @@ int l23_app_init(int (*mncc_recv)(struct osmocom_ms *ms, int, void *), vty_info.tall_ctx = l23_ctx; vty_init(&vty_info); + logging_vty_add_cmds(NULL); ms_vty_init(); dummy_conn.priv = NULL; vty_reading = 1; -- cgit v1.2.3