[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.16 and 1.17

version 1.16, 1999/11/24 19:53:48 version 1.17, 1999/12/02 20:16:34
Line 530 
Line 530 
         *payload_len_ptr = buffer_len(&incoming_packet);          *payload_len_ptr = buffer_len(&incoming_packet);
   
         /* Handle disconnect message. */          /* Handle disconnect message. */
         if ((unsigned char) buf[0] == SSH_MSG_DISCONNECT)          if ((unsigned char) buf[0] == SSH_MSG_DISCONNECT) {
                 fatal("Received disconnect: %.900s", packet_get_string(NULL));                  log("Received disconnect: %.900s", packet_get_string(NULL));
                   fatal_cleanup();
           }
   
         /* Ignore ignore messages. */          /* Ignore ignore messages. */
         if ((unsigned char) buf[0] == SSH_MSG_IGNORE)          if ((unsigned char) buf[0] == SSH_MSG_IGNORE)
Line 662 
Line 664 
         packet_close();          packet_close();
   
         /* Display the error locally and exit. */          /* Display the error locally and exit. */
         fatal("Disconnecting: %.100s", buf);          log("Disconnecting: %.100s", buf);
           fatal_cleanup();
 }  }
   
 /* Checks if there is any buffered output, and tries to write some of the output. */  /* Checks if there is any buffered output, and tries to write some of the output. */

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17