Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
707b536
)
vcl: fix session closing error
63/24763/2
author
Florin Coras
<fcoras@cisco.com>
Mon, 3 Feb 2020 16:00:56 +0000
(16:00 +0000)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 6 Feb 2020 15:04:24 +0000
(15:04 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I94f1365569e98d43486d9528faafc6d7c3ad88f7
src/vcl/vcl_private.h
patch
|
blob
|
history
diff --git
a/src/vcl/vcl_private.h
b/src/vcl/vcl_private.h
index
f9fa066
..
4b08b65
100644
(file)
--- a/
src/vcl/vcl_private.h
+++ b/
src/vcl/vcl_private.h
@@
-544,7
+544,8
@@
vcl_session_is_closing (vcl_session_t * s)
static inline int
vcl_session_closing_error (vcl_session_t * s)
{
static inline int
vcl_session_closing_error (vcl_session_t * s)
{
- return s->session_state == STATE_DISCONNECT ? VPPCOM_ECONNRESET : 0;
+ return s->session_state == STATE_DISCONNECT
+ ? VPPCOM_ECONNRESET : VPPCOM_ECONNABORTED;
}
static inline int
}
static inline int