ports/180197: [MAINTAINER] benchmarks/flowgrind: fix DSCP marking

Lars Eggert lars at eggert.org
Tue Jul 2 12:30:04 UTC 2013


>Number:         180197
>Category:       ports
>Synopsis:       [MAINTAINER] benchmarks/flowgrind: fix DSCP marking
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 02 12:30:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Lars Eggert
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD stanley.muccbc.hq.netapp.com 9.1-STABLE FreeBSD 9.1-STABLE #1: Mon Jul  1 11:18:47 CEST
>Description:
Patch to fix DCSP marking (also pushed upstream)

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- flowgrind-0.6.0_1.patch begins here ---
diff -ruN ../flowgrind.orig/Makefile ./Makefile
--- ../flowgrind.orig/Makefile	2013-07-02 14:11:18.000000000 +0200
+++ ./Makefile	2013-07-02 14:13:21.000000000 +0200
@@ -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 -ruN ../flowgrind.orig/files/patch-fg_socket ./files/patch-fg_socket
--- ../flowgrind.orig/files/patch-fg_socket	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-fg_socket	2013-07-02 14:13:02.000000000 +0200
@@ -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;
--- flowgrind-0.6.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list