aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vcl/ldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index d31cd2cabd4..ce243df1c96 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -1669,7 +1669,7 @@ send (int fd, const void *buf, size_t n, int flags)
getpid (), fd, fd, func_str, sid, sid, buf, n, flags);
size = vppcom_session_sendto (sid, (void *) buf, n, flags, NULL);
- if (size != VPPCOM_OK)
+ if (size < VPPCOM_OK)
{
errno = -size;
size = -1;