Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Disable IP_TOS setting for mosh 1.2 maintenance release

  • Loading branch information...
commit bb07e52193bb2edc363912fc2d70a9cdcd530185 1 parent eef8585
@keithw authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/network/network.cc
View
2  src/network/network.cc
@@ -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 */
Please sign in to comment.
Something went wrong with that request. Please try again.