aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_client_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo_client_main.c')
-rw-r--r--src/osmo_client_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c
index 0d48e1b..89ef5f6 100644
--- a/src/osmo_client_main.c
+++ b/src/osmo_client_main.c
@@ -218,14 +218,12 @@ int main(int argc, char **argv)
exit(1);
}
pcap_client->fd.fd = -1;
- pcap_client->conn.tls_verify = true;
vty_client_init(pcap_client);
/* initialize the queue */
INIT_LLIST_HEAD(&pcap_client->conns);
- pcap_client->conn.client = pcap_client;
- osmo_wqueue_init(&pcap_client->conn.wqueue, 10);
- pcap_client->conn.wqueue.bfd.fd = -1;
+ osmo_client_conn_init(&pcap_client->conn, pcap_client);
+ pcap_client->conn.name = "default";
/* initialize the stats interface */
pcap_client->ctrg = rate_ctr_group_alloc(pcap_client, &pcap_client_ctr_group_desc, 0);