[BACK]Return to packet.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/packet.c between version 1.85 and 1.86

version 1.85, 2002/01/18 18:14:17 version 1.86, 2002/01/24 21:09:25
Line 1189 
Line 1189 
         static int called = 0;          static int called = 0;
         int lowdelay = IPTOS_LOWDELAY;          int lowdelay = IPTOS_LOWDELAY;
         int throughput = IPTOS_THROUGHPUT;          int throughput = IPTOS_THROUGHPUT;
         int on = 1;  
   
         if (called)          if (called)
                 return;                  return;
Line 1215 
Line 1214 
                                 error("setsockopt IPTOS_LOWDELAY: %.100s",                                  error("setsockopt IPTOS_LOWDELAY: %.100s",
                                     strerror(errno));                                      strerror(errno));
                 }                  }
                 if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on,                  set_nodelay(connection_in);
                     sizeof(on)) < 0)  
                         error("setsockopt TCP_NODELAY: %.100s", strerror(errno));  
         } else if (packet_connection_is_ipv4()) {          } else if (packet_connection_is_ipv4()) {
                 /*                  /*
                  * Set IP options for a non-interactive connection.  Use                   * Set IP options for a non-interactive connection.  Use

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86