Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vcl: fix udp connected check
[vpp.git]
/
src
/
vcl
/
vcl_private.h
diff --git
a/src/vcl/vcl_private.h
b/src/vcl/vcl_private.h
index
de3304f
..
593e63f
100644
(file)
--- 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;
}