summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_test_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vcl_test_server.c')
-rw-r--r--src/vcl/vcl_test_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vcl/vcl_test_server.c b/src/vcl/vcl_test_server.c
index 8d97d0cfaa6..2fdd7ec157d 100644
--- a/src/vcl/vcl_test_server.c
+++ b/src/vcl/vcl_test_server.c
@@ -467,7 +467,8 @@ vts_worker_init (vcl_test_server_worker_t * wrk)
conn_pool_expand (wrk, SOCK_SERVER_MAX_TEST_CONN + 1);
if (wrk->wrk_index)
- vppcom_worker_register ();
+ if (vppcom_worker_register ())
+ vtfail ("vppcom_worker_register()", 1);
wrk->listen_fd = vppcom_session_create (ssm->cfg.proto,
0 /* is_nonblocking */ );