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 ldp ioctl FIONBIO handler
[vpp.git]
/
src
/
vcl
/
ldp.c
diff --git
a/src/vcl/ldp.c
b/src/vcl/ldp.c
index
b750671
..
ffe1673
100644
(file)
--- a/
src/vcl/ldp.c
+++ b/
src/vcl/ldp.c
@@
-610,7
+610,7
@@
ioctl (int fd, unsigned long int cmd, ...)
case FIONBIO:
{
- u32 flags =
va_arg (ap, int
) ? O_NONBLOCK : 0;
+ u32 flags =
*(va_arg (ap, int *)
) ? O_NONBLOCK : 0;
u32 size = sizeof (flags);
/* TBD: When VPPCOM_ATTR_[GS]ET_FLAGS supports flags other than