Killing IPTOS_CE and IPTOS_ECT

Rui Paulo rpaulo at fnop.net
Mon Sep 3 19:10:46 PDT 2007


Rui Paulo wrote:
> The only consumer of the RFC 2481 defines is sbin/ipfw/ipfw2.c and 
> luigi@ accepted the attached patch.

Here's the attached patch.

-- 
Rui Paulo
-------------- next part --------------
Index: ipfw2.c
===================================================================
RCS file: /home/ncvs/src/sbin/ipfw/ipfw2.c,v
retrieving revision 1.107
diff -u -p -r1.107 ipfw2.c
--- ipfw2.c	26 Aug 2007 18:38:31 -0000	1.107
+++ ipfw2.c	3 Sep 2007 00:27:39 -0000
@@ -179,8 +179,8 @@ static struct _s_x f_iptos[] = {
 	{ "throughput",	IPTOS_THROUGHPUT},
 	{ "reliability", IPTOS_RELIABILITY},
 	{ "mincost",	IPTOS_MINCOST},
-	{ "congestion",	IPTOS_CE},
-	{ "ecntransport", IPTOS_ECT},
+	{ "congestion",	IPTOS_ECN_CE},
+	{ "ecntransport", IPTOS_ECN_ECT0},
 	{ "ip tos option", 0},
 	{ NULL,	0 }
 };


More information about the freebsd-net mailing list