Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iperf: bump to 2.2.1 #885

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions net/iperf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=iperf
PKG_VERSION:=2.1.8
PKG_RELEASE:=$(AUTORELEASE)
PKG_VERSION:=2.2.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=8e2cf2fbc9d0d4d1cf9d109b1e328459f9622993dc9a4c5a7dc8a2088fb7beaf
PKG_HASH:=754ab0a7e28033dbea81308ef424bc7df4d6e2fe31b60cc536b61b51fefbd8fb
PKG_SOURCE_URL:=@SF/iperf2

PKG_MAINTAINER:=Felix Fietkau <[email protected]>
PKG_LICENSE:=BSD-3-Clause
PKG_CPE_ID:=cpe:/a:iperf_project:iperf

PKG_BUILD_PARALLEL:=1

Expand Down
11 changes: 11 additions & 0 deletions net/iperf/patches/020-fix-udp-checksum.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/src/checksums.c
+++ b/src/checksums.c
@@ -172,7 +172,7 @@ uint32_t udpchecksum(const void *l3pdu,
int i;

const struct udphdr *udp_hdr = (const struct udphdr *)l4pdu;
- if (!udp_hdr->check) {
+ if (!udp_hdr->uh_sum) {
if (v6)
// v6 requires checksums
return -1;