commit | 0215fb4aee78543470d3f1538859b387fa70fb01 | [log] [tgz] |
---|---|---|
author | Damjan Marion <damarion@cisco.com> | Tue Oct 30 13:04:19 2018 +0100 |
committer | Damjan Marion <damarion@cisco.com> | Tue Oct 30 13:04:27 2018 +0100 |
tree | c076e6ee2a035e6549ad62dec76139c469228533 | |
parent | a47ea2b3b0e9a855774ca0d7db2b7fa9e2943300 [diff] |
vppinfra: fix bug in default_socket_sendmsg Change-Id: Ia9b74761ce511d218bb5319c7c9b5e58be3e2e8a Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/socket.c b/src/vppinfra/socket.c index 990d0f7..109cbad 100644 --- a/src/vppinfra/socket.c +++ b/src/vppinfra/socket.c
@@ -278,7 +278,7 @@ { struct msghdr mh = { 0 }; struct iovec iov[1]; - char ctl[CMSG_SPACE (sizeof (int)) * num_fds]; + char ctl[CMSG_SPACE (sizeof (int) * num_fds)]; int rv; iov[0].iov_base = msg;