diff options
Diffstat (limited to 'src/osmo_client_main.c')
-rw-r--r-- | src/osmo_client_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c index f5ba41a..0bbeb7a 100644 --- a/src/osmo_client_main.c +++ b/src/osmo_client_main.c @@ -22,6 +22,7 @@ #include <osmo-pcap/common.h> #include <osmo-pcap/osmo_pcap_client.h> +#include <osmo-pcap/osmo_tls.h> #include <osmocom/core/application.h> #include <osmocom/core/rate_ctr.h> @@ -203,6 +204,8 @@ int main(int argc, char **argv) signal(SIGUSR1, &signal_handler); osmo_init_ignore_signals(); + osmo_tls_init(); + rc = telnet_init(tall_bsc_ctx, NULL, 4240); if (rc < 0) { LOGP(DCLIENT, LOGL_ERROR, "Failed to bind telnet interface\n"); @@ -215,6 +218,7 @@ int main(int argc, char **argv) exit(1); } pcap_client->fd.fd = -1; + pcap_client->tls_verify = true; vty_client_init(pcap_client); /* initialize the queue */ |