aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorTomasz Kulasek <tomaszx.kulasek@intel.com>2019-01-31 18:26:32 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-02-05 21:56:19 +0000
commit97dcf5bd26ca6de580943f5d39681f0144782c3d (patch)
tree7a7b3849d9296c80f69de54df9aa1bbc524aea70 /src/vcl
parent4edc37eb90a74bcd1aad20d6447159c05853d23e (diff)
sock api: allow to start client with no rx_thread
Change-Id: Ia30ff1e62304e65f27497ce05f8e40631c06d69e Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcl_bapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_bapi.c b/src/vcl/vcl_bapi.c
index debfb8ff4c3..b7f47d8c579 100644
--- a/src/vcl/vcl_bapi.c
+++ b/src/vcl/vcl_bapi.c
@@ -679,7 +679,7 @@ vppcom_connect_to_vpp (char *app_name)
return VPPCOM_ECONNREFUSED;
}
- if (vl_socket_client_init_shm (0))
+ if (vl_socket_client_init_shm (0, 1 /* want_pthread */ ))
{
VERR ("app (%s) init shm failed!", app_name);
return VPPCOM_ECONNREFUSED;