summaryrefslogtreecommitdiffstats
path: root/src/uri/sock_test_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri/sock_test_client.c')
-rw-r--r--src/uri/sock_test_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri/sock_test_client.c b/src/uri/sock_test_client.c
index 151c90b2960..b53f8f2230f 100644
--- a/src/uri/sock_test_client.c
+++ b/src/uri/sock_test_client.c
@@ -505,7 +505,7 @@ sock_test_connect_test_sockets (uint32_t num_test_sockets)
#ifdef VCL_TEST
tsock->fd =
vppcom_session_create (VPPCOM_VRF_DEFAULT, VPPCOM_PROTO_TCP,
- 0 /* is_nonblocking */ );
+ 1 /* is_nonblocking */ );
if (tsock->fd < 0)
{
errno = -tsock->fd;