Skip to content

Commit

Permalink
DiffServ codepoint and ECN: Roll back to just ECT (no DSCP)
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed Mar 10, 2013
1 parent 093bbc9 commit 770e420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/network.cc
Expand Up @@ -159,8 +159,8 @@ Connection::Socket::Socket()
}
#endif

/* set diffserv values to AF42 + ECT */
int dscp = 0x92; /* OS X does not have IPTOS_DSCP_AF42 constant */
// int dscp = 0x92; /* OS X does not have IPTOS_DSCP_AF42 constant */
int dscp = 0x02; /* ECN-capable transport only */
if ( setsockopt( _fd, IPPROTO_IP, IP_TOS, &dscp, sizeof (dscp)) < 0 ) {
// perror( "setsockopt( IP_TOS )" );
}
Expand Down

0 comments on commit 770e420

Please sign in to comment.