aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iperf/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iperf/patches')
-rw-r--r--package/network/utils/iperf/patches/0003-fix-non-ipv6-builds.patch20
-rw-r--r--package/network/utils/iperf/patches/010-libcxx.patch12
2 files changed, 0 insertions, 32 deletions
diff --git a/package/network/utils/iperf/patches/0003-fix-non-ipv6-builds.patch b/package/network/utils/iperf/patches/0003-fix-non-ipv6-builds.patch
deleted file mode 100644
index c6afa3e160..0000000000
--- a/package/network/utils/iperf/patches/0003-fix-non-ipv6-builds.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/Listener.cpp
-+++ b/src/Listener.cpp
-@@ -723,6 +723,7 @@ int Listener::L2_setup (void) {
-
- // Now optimize packet flow up the raw socket
- // Establish the flow BPF to forward up only "connected" packets to this raw socket
-+#ifdef HAVE_IPV6
- if (l->sa_family == AF_INET6) {
- #ifdef HAVE_IPV6
- struct in6_addr *v6peer = SockAddr_get_in6_addr(&server->peer);
-@@ -740,6 +741,9 @@ int Listener::L2_setup (void) {
- return -1;
- #endif /* HAVE_IPV6 */
- } else {
-+#else
-+ {
-+#endif
- rc = SockAddr_v4_Connect_BPF(server->mSock, ((struct sockaddr_in *)(l))->sin_addr.s_addr, ((struct sockaddr_in *)(p))->sin_addr.s_addr, ((struct sockaddr_in *)(l))->sin_port, ((struct sockaddr_in *)(p))->sin_port);
- WARN_errno( rc == SOCKET_ERROR, "l2 connect ip bpf");
- }
diff --git a/package/network/utils/iperf/patches/010-libcxx.patch b/package/network/utils/iperf/patches/010-libcxx.patch
deleted file mode 100644
index cf0124232f..0000000000
--- a/package/network/utils/iperf/patches/010-libcxx.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/config.h.in
-+++ b/config.h.in
-@@ -360,7 +360,9 @@
- #undef _REENTRANT
-
- /* */
-+#ifndef __cplusplus
- #undef bool
-+#endif
-
- /* Define to empty if `const' does not conform to ANSI C. */
- #undef const