Skip to content

Commit

Permalink
Disable IP_TOS setting for mosh 1.2 maintenance release
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed Jun 12, 2012
1 parent eef8585 commit bb07e52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/network/network.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit bb07e52

Please sign in to comment.