diff options
author | wg <wg@FreeBSD.org> | 2013-07-03 20:34:05 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-07-03 20:34:05 +0800 |
commit | db588b7987cccd06897ab2179ca6502366185995 (patch) | |
tree | 626ad57321ab9b7a84f12900e716df2e4d4b0d3e /benchmarks | |
parent | db5f84aacda784c709e05cbbee6f98f6b6fe24d0 (diff) | |
download | freebsd-ports-gnome-db588b7987cccd06897ab2179ca6502366185995.tar.gz freebsd-ports-gnome-db588b7987cccd06897ab2179ca6502366185995.tar.zst freebsd-ports-gnome-db588b7987cccd06897ab2179ca6502366185995.zip |
benchmarks/flowgrind: fix DSCP marking
- Fix DSCP marking
PR: ports/180197
Submitted by: Lars Eggert <lars@eggert.org> (maintainer)
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/flowgrind/Makefile | 1 | ||||
-rw-r--r-- | benchmarks/flowgrind/files/patch-fg_socket | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/benchmarks/flowgrind/Makefile b/benchmarks/flowgrind/Makefile index a5118713f32f..46f87871d13d 100644 --- a/benchmarks/flowgrind/Makefile +++ b/benchmarks/flowgrind/Makefile @@ -3,6 +3,7 @@ PORTNAME= flowgrind PORTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= https://launchpad.net/flowgrind/trunk/${PORTNAME}-0.6/+download/ diff --git a/benchmarks/flowgrind/files/patch-fg_socket b/benchmarks/flowgrind/files/patch-fg_socket new file mode 100644 index 000000000000..cfb25f25bfd0 --- /dev/null +++ b/benchmarks/flowgrind/files/patch-fg_socket @@ -0,0 +1,22 @@ +--- src/fg_socket.h 2013-07-02 14:09:06.000000000 +0200 ++++ src/fg_socket.h.orig 2013-07-02 14:07:20.000000000 +0200 +@@ -19,7 +19,7 @@ + int set_so_lcd(int fd); + int set_tcp_mtcp(int fd); + int set_tcp_nodelay(int fd); +-int set_dscp(int sock, uint8_t dscp); ++int set_dscp(int sock, int dscp); + int set_tcp_cork(int fd); + int toggle_tcp_cork(int fd); + int set_window_size(int, int); +--- src/fg_socket.c 2013-07-02 14:07:12.000000000 +0200 ++++ src/fg_socket.c.orig 2013-07-02 14:06:41.000000000 +0200 +@@ -132,7 +132,7 @@ + return send < receive? send: receive; + } + +-int set_dscp(int fd, uint8_t dscp) ++int set_dscp(int fd, int dscp) + { + int optname = IP_TOS; + int optlevel = IPPROTO_IP; |