svn commit: r322224 - in head/benchmarks/flowgrind: . files
William Grzybowski
wg at FreeBSD.org
Wed Jul 3 12:34:05 UTC 2013
Author: wg
Date: Wed Jul 3 12:34:05 2013
New Revision: 322224
URL: http://svnweb.freebsd.org/changeset/ports/322224
Log:
benchmarks/flowgrind: fix DSCP marking
- Fix DSCP marking
PR: ports/180197
Submitted by: Lars Eggert <lars at eggert.org> (maintainer)
Added:
head/benchmarks/flowgrind/files/
head/benchmarks/flowgrind/files/patch-fg_socket (contents, props changed)
Modified:
head/benchmarks/flowgrind/Makefile
Modified: head/benchmarks/flowgrind/Makefile
==============================================================================
--- head/benchmarks/flowgrind/Makefile Wed Jul 3 12:31:47 2013 (r322223)
+++ head/benchmarks/flowgrind/Makefile Wed Jul 3 12:34:05 2013 (r322224)
@@ -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/
Added: head/benchmarks/flowgrind/files/patch-fg_socket
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/flowgrind/files/patch-fg_socket Wed Jul 3 12:34:05 2013 (r322224)
@@ -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;
More information about the svn-ports-head
mailing list