From 201c8e4d2aed9b9e2c99ee848d8ed4c89fd9031e Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 25 May 2020 18:17:03 +0000 Subject: vcl: fix udp connected check Type: fix Signed-off-by: Florin Coras Change-Id: I83dafe10cdc78fbb9a751f32155cd84d281b12d9 (cherry picked from commit a4dac8af0eb4271db0c528a00beca58f41b51c95) --- src/vcl/vcl_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index de3304ff222..593e63f3b09 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -529,7 +529,7 @@ static inline u8 vcl_session_is_cl (vcl_session_t * s) { if (s->session_type == VPPCOM_PROTO_UDP) - return 1; + return !(s->flags & VCL_SESSION_F_CONNECTED); return 0; } -- cgit 1.2.3-korg