[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.94 and 1.95

version 1.94, 2001/12/28 15:06:00 version 1.95, 2002/01/10 11:24:04
Line 1236 
Line 1236 
         }          }
         xfree(rtype);          xfree(rtype);
 }  }
   static void
   client_input_global_request(int type, u_int32_t seq, void *ctxt)
   {
           char *rtype;
           int want_reply;
           int success = 0;
   
           rtype = packet_get_string(NULL);
           want_reply = packet_get_char();
           debug("client_input_global_request: rtype %s want_reply %d", rtype, want_reply);
           if (want_reply) {
                   packet_start(success ?
                       SSH2_MSG_REQUEST_SUCCESS : SSH2_MSG_REQUEST_FAILURE);
                   packet_send();
                   packet_write_wait();
           }
           xfree(rtype);
   }
   
 static void  static void
 client_init_dispatch_20(void)  client_init_dispatch_20(void)
 {  {
Line 1250 
Line 1268 
         dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);          dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);
         dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &client_input_channel_req);          dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &client_input_channel_req);
         dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust);          dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust);
           dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &client_input_global_request);
   
         /* rekeying */          /* rekeying */
         dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit);          dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit);

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95