diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-01-22 10:14:48 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-22 14:53:50 -1000 |
commit | ad54af2ae0281707c60073bacc1c5fb7be096710 (patch) | |
tree | 906eaa59bc83867bce2c816d80295469959f77f1 /package/network/utils/iperf/patches | |
parent | 402408b36840e078b8a98d66163d72e48ca3275b (diff) | |
download | upstream-ad54af2ae0281707c60073bacc1c5fb7be096710.tar.gz upstream-ad54af2ae0281707c60073bacc1c5fb7be096710.tar.bz2 upstream-ad54af2ae0281707c60073bacc1c5fb7be096710.zip |
iperf: remove
This package is not needed in base. It will be imported in the packages
feed.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/network/utils/iperf/patches')
-rw-r--r-- | package/network/utils/iperf/patches/0003-fix-non-ipv6-builds.patch | 20 | ||||
-rw-r--r-- | package/network/utils/iperf/patches/010-libcxx.patch | 12 |
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 |