diff options
author | Stanislav Zaikin <stanislav.zaikin@46labs.com> | 2024-10-09 09:21:56 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-10-24 16:31:29 +0000 |
commit | af25b441e5cb212adabbdeba1b2bc103541fa63c (patch) | |
tree | 1386b679aa05d25fe3ac77f197d7ca14b75e7cd5 /src/vpp-api/vapi | |
parent | fe403bd50425d6eba3f1edd88107ff8fef310aff (diff) |
vapi: fix uds connect error handling
Type: fix
Change-Id: I846b54408991d34f73735914a4a673d4ee966afd
Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
Diffstat (limited to 'src/vpp-api/vapi')
-rw-r--r-- | src/vpp-api/vapi/vapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/vapi/vapi.c b/src/vpp-api/vapi/vapi.c index f5d37f04773..61801fc3726 100644 --- a/src/vpp-api/vapi/vapi.c +++ b/src/vpp-api/vapi/vapi.c @@ -988,7 +988,7 @@ vapi_connect_ex (vapi_ctx_t ctx, const char *name, const char *path, if (use_uds) { - if (vapi_sock_client_connect (ctx, (char *) path, name) < 0) + if (vapi_sock_client_connect (ctx, (char *) path, name) != VAPI_OK) { return VAPI_ECON_FAIL; } |