diff options
Diffstat (limited to 'src/plugins/hs_apps/vcl/vcl_test_server.c')
-rw-r--r-- | src/plugins/hs_apps/vcl/vcl_test_server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/hs_apps/vcl/vcl_test_server.c b/src/plugins/hs_apps/vcl/vcl_test_server.c index 364c32fc9f8..af5b914cdac 100644 --- a/src/plugins/hs_apps/vcl/vcl_test_server.c +++ b/src/plugins/hs_apps/vcl/vcl_test_server.c @@ -531,6 +531,10 @@ vts_worker_init (vcl_test_server_worker_t * wrk) if (wrk->listen_fd < 0) vtfail ("vppcom_session_create()", wrk->listen_fd); + if (vsm->cfg.proto == VPPCOM_PROTO_UDP) + { + vppcom_session_attr (wrk->listen_fd, VPPCOM_ATTR_SET_CONNECTED, 0, 0); + } if (vsm->cfg.proto == VPPCOM_PROTO_TLS || vsm->cfg.proto == VPPCOM_PROTO_QUIC) |