Permalink
Browse files

Disable IP_TOS setting for mosh 1.2 maintenance release

  • Loading branch information...
keithw committed Jun 12, 2012
1 parent eef8585 commit bb07e52193bb2edc363912fc2d70a9cdcd530185
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/network/network.cc
View
@@ -116,10 +116,12 @@ void Connection::setup( void )
#endif
/* set diffserv values to AF42 + ECT */
+ /*
uint8_t dscp = 0x92;
if ( setsockopt( sock, IPPROTO_IP, IP_TOS, &dscp, 1) < 0 ) {
// perror( "setsockopt( IP_TOS )" );
}
+ */
}
Connection::Connection( const char *desired_ip, const char *desired_port ) /* server */

0 comments on commit bb07e52

Please sign in to comment.