Skip to content

Commit

Permalink
vcl: fix udp connected check
Browse files Browse the repository at this point in the history
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I83dafe10cdc78fbb9a751f32155cd84d281b12d9
  • Loading branch information
florincoras authored and Dave Barach committed May 25, 2020
1 parent ef29fa4 commit a4dac8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcl/vcl_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a4dac8a

Please sign in to comment.