[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.148 and 1.149

version 1.148, 2007/06/07 19:37:34 version 1.149, 2007/12/28 15:32:24
Line 959 
Line 959 
  * packet_process_incoming.  If so, reads the packet; otherwise returns   * packet_process_incoming.  If so, reads the packet; otherwise returns
  * SSH_MSG_NONE.  This does not wait for data from the connection.   * SSH_MSG_NONE.  This does not wait for data from the connection.
  *   *
  * SSH_MSG_DISCONNECT is handled specially here.  Also,   * SSH_MSG_DISCONNECT is handled specially here.  Also, SSH_MSG_IGNORE
  * SSH_MSG_IGNORE messages are skipped by this function and are never returned   * messages are skipped by this function and are never returned
  * to higher levels.   * to higher levels, although SSH2_MSG_IGNORE are since they are needed
    * for keepalives.
  */   */
   
 static int  static int
Line 1186 
Line 1187 
                         if (type)                          if (type)
                                 DBG(debug("received packet type %d", type));                                  DBG(debug("received packet type %d", type));
                         switch (type) {                          switch (type) {
                         case SSH2_MSG_IGNORE:  
                                 break;  
                         case SSH2_MSG_DEBUG:                          case SSH2_MSG_DEBUG:
                                 packet_get_char();                                  packet_get_char();
                                 msg = packet_get_string(NULL);                                  msg = packet_get_string(NULL);
Line 1208 
Line 1207 
                                 seqnr = packet_get_int();                                  seqnr = packet_get_int();
                                 debug("Received SSH2_MSG_UNIMPLEMENTED for %u",                                  debug("Received SSH2_MSG_UNIMPLEMENTED for %u",
                                     seqnr);                                      seqnr);
                                 break;                                  /* FALLTHROUGH */
                         default:                          default:
                                 return type;                                  return type;
                         }                          }

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149