=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.99 retrieving revision 1.99.2.3 diff -u -r1.99 -r1.99.2.3 --- src/usr.bin/ssh/clientloop.c 2002/03/21 23:07:37 1.99 +++ src/usr.bin/ssh/clientloop.c 2002/06/26 15:30:38 1.99.2.3 @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.99 2002/03/21 23:07:37 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.99.2.3 2002/06/26 15:30:38 jason Exp $"); #include "ssh.h" #include "ssh1.h" @@ -481,7 +481,7 @@ int local = 0; leave_raw_mode(); - handler = signal(SIGINT, SIG_IGN); + handler = signal(SIGINT, SIG_IGN); cmd = s = read_passphrase("\r\nssh> ", RP_ECHO); if (s == NULL) goto out; @@ -1208,10 +1208,8 @@ { Channel *c = NULL; char *ctype; - u_int len; int rchan; - int rmaxpack; - int rwindow; + u_int rmaxpack, rwindow, len; ctype = packet_get_string(&len); rchan = packet_get_int(); @@ -1314,6 +1312,7 @@ client_init_dispatch_20(void) { dispatch_init(&dispatch_protocol_error); + dispatch_set(SSH2_MSG_CHANNEL_CLOSE, &channel_input_oclose); dispatch_set(SSH2_MSG_CHANNEL_DATA, &channel_input_data); dispatch_set(SSH2_MSG_CHANNEL_EOF, &channel_input_ieof); @@ -1327,6 +1326,10 @@ /* rekeying */ dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit); + + /* global request reply messages */ + dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); + dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); } static void client_init_dispatch_13(void)