summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-10-02 08:42:06 -0700
committerDave Barach <openvpp@barachs.net>2018-10-02 20:58:07 +0000
commit84db4087fa38b8d4c62cbb0787d600950638034c (patch)
treeae1947feeefc65891e353cdbaf1f4441941016ae /src/vcl
parentc67cfd22bedf5b45e82ff6820d1d4e6f61ba5187 (diff)
vcl: fix coverity warning
Change-Id: I08b0244ba8b0e8a463224b39e1f7b878ba8e4e6f Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcl_test_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_test_client.c b/src/vcl/vcl_test_client.c
index c92f0cb754d..cd92ed81805 100644
--- a/src/vcl/vcl_test_client.c
+++ b/src/vcl/vcl_test_client.c
@@ -400,7 +400,7 @@ vtc_worker_loop (void *arg)
}
exit:
vtinf ("Worker %d done ...", wrk->wrk_index);
- if (tsock->cfg.test != SOCK_TEST_TYPE_ECHO)
+ if (wrk->cfg.test != SOCK_TEST_TYPE_ECHO)
vtc_accumulate_stats (wrk, ctrl);
sleep (1);
vtc_worker_sessions_exit (wrk);