vcl: fix session closing error
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I94f1365569e98d43486d9528faafc6d7c3ad88f7
(cherry picked from commit 190dc1f678
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
779ca383b9
commit
cfae0f882e
@ -538,7 +538,8 @@ vcl_session_is_closing (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
|
||||
|
Reference in New Issue
Block a user