aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-07-09 22:29:41 +0200
committerlaforge <laforge@osmocom.org>2020-07-09 20:57:01 +0000
commitc5c5a1e7c5d528f68aa4669a39e1d0f3e94007db (patch)
treef83cf68acd9b7b215bc7dd625b9d848166779abd
parent3e5741352e68b7bcacabf676e95acaa382233d67 (diff)
add missing call to logging_vty_add_cmds() during startup
Otherwise, the usual logging related VTY commands are absent. Change-Id: I07038dfb204301bb1696ca312b2ec29671b86ae5
-rw-r--r--src/osmo-e1d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c
index 647b039..10d7a5e 100644
--- a/src/osmo-e1d.c
+++ b/src/osmo-e1d.c
@@ -37,6 +37,7 @@
#include <osmocom/core/msgb.h>
#include <osmocom/core/select.h>
#include <osmocom/vty/telnet_interface.h>
+#include <osmocom/vty/logging.h>
#include <osmocom/e1d/proto_srv.h>
#include <osmocom/e1d/proto.h>
@@ -173,6 +174,7 @@ int main(int argc, char *argv[])
INIT_LLIST_HEAD(&e1d->interfaces);
vty_init(&vty_info);
+ logging_vty_add_cmds();
e1d_vty_init(e1d);
handle_options(argc, argv);