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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.187 and 1.188

version 1.187, 2008/01/23 01:56:54 version 1.188, 2008/02/22 20:44:02
Line 149 
Line 149 
 static int connection_out;      /* Connection to server (output). */  static int connection_out;      /* Connection to server (output). */
 static int need_rekeying;       /* Set to non-zero if rekeying is requested. */  static int need_rekeying;       /* Set to non-zero if rekeying is requested. */
 static int session_closed = 0;  /* In SSH2: login session closed. */  static int session_closed = 0;  /* In SSH2: login session closed. */
 static int server_alive_timeouts = 0;  
   
 static void client_init_dispatch(void);  static void client_init_dispatch(void);
 int     session_ident = -1;  int     session_ident = -1;
Line 459 
Line 458 
 static void  static void
 client_global_request_reply(int type, u_int32_t seq, void *ctxt)  client_global_request_reply(int type, u_int32_t seq, void *ctxt)
 {  {
         server_alive_timeouts = 0;          keep_alive_timeouts = 0;
         client_global_request_reply_fwd(type, seq, ctxt);          client_global_request_reply_fwd(type, seq, ctxt);
 }  }
   
 static void  static void
 server_alive_check(void)  server_alive_check(void)
 {  {
         if (++server_alive_timeouts > options.server_alive_count_max) {          if (++keep_alive_timeouts > options.server_alive_count_max) {
                 logit("Timeout, server not responding.");                  logit("Timeout, server not responding.");
                 cleanup_exit(255);                  cleanup_exit(255);
         }          }

Legend:
Removed from v.1.187  
changed lines
  Added in v.1.188