aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-10-18 21:15:48 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-10-19 04:35:37 +0000
commit9c4b5b28b1c1df0c100b377a2f5bfc07bd9a0b2e (patch)
tree21cfcca7bf3ab134b9b6b5933431c9df3c266fbd /extras
parent17142b2030d89eb89439046699846cd7f08e0b1e (diff)
VCL-LDPRELOAD: fix iperf3 socket_test.sh
Change-Id: Ib6b52917af717d3341429163fb9ecc903cf717fb Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c b/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c
index c8a9d623a9b..96108afe0f7 100644
--- a/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c
+++ b/extras/vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c
@@ -1256,16 +1256,6 @@ vcom_socket_bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
}
rv = vppcom_session_bind (vsock->sid, &ep);
- /* TBD: remove libc_bind code snippet
- * once vppcom implements vppcom_session_getsockname */
- if (rv == 0)
- {
- rv = libc_bind (__fd, __addr, __len);
- if (rv != 0)
- {
- rv = -errno;
- }
- }
return rv;
}
@@ -1741,12 +1731,7 @@ vppcom_getsockopt (int __sid, int __level, int __optname,
{
/* 1. for socket level options that are NOT socket attributes
* and that has corresponding vpp options get from vppcom */
-#if 0
return 0;
-#endif
-
- /* 2. unhandled options */
- return -ENOPROTOOPT;
}
int