Bug 180197 - [MAINTAINER] benchmarks/flowgrind: fix DSCP marking
Summary: [MAINTAINER] benchmarks/flowgrind: fix DSCP marking
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 13:30 UTC by lars
Modified: 2013-07-03 13:40 UTC (History)
0 users

See Also:


Attachments
flowgrind-0.6.0_1.patch (1.26 KB, patch)
2013-07-02 13:30 UTC, lars
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lars 2013-07-02 13:30:03 UTC
Patch to fix DCSP marking (also pushed upstream)

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: suffix)
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-07-03 02:38:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-03 13:34:17 UTC
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@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;
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-07-03 13:34:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!