From 97dcf5bd26ca6de580943f5d39681f0144782c3d Mon Sep 17 00:00:00 2001 From: Tomasz Kulasek Date: Thu, 31 Jan 2019 18:26:32 +0100 Subject: sock api: allow to start client with no rx_thread Change-Id: Ia30ff1e62304e65f27497ce05f8e40631c06d69e Signed-off-by: Tomasz Kulasek --- src/vat/api_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vat') diff --git a/src/vat/api_format.c b/src/vat/api_format.c index d35c19eb416..5ddbb57f281 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -22025,7 +22025,7 @@ api_sock_init_shm (vat_main_t * vam) config[6].count = 128; config[6].size = sizeof (uword); - rv = vl_socket_client_init_shm (config); + rv = vl_socket_client_init_shm (config, 1 /* want_pthread */ ); if (!rv) vam->client_index_invalid = 1; return rv; -- cgit 1.2.3-korg