[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.149 and 1.150

version 1.149, 2007/12/28 15:32:24 version 1.150, 2008/01/23 01:56:54
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_IGNORE   * SSH_MSG_DISCONNECT is handled specially here.  Also,
  * messages are skipped by this function and are never returned   * SSH_MSG_IGNORE messages are skipped by this function and are never returned
  * to higher levels, although SSH2_MSG_IGNORE are since they are needed   * to higher levels.
  * for keepalives.  
  */   */
   
 static int  static int
Line 1187 
Line 1186 
                         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 1207 
Line 1208 
                                 seqnr = packet_get_int();                                  seqnr = packet_get_int();
                                 debug("Received SSH2_MSG_UNIMPLEMENTED for %u",                                  debug("Received SSH2_MSG_UNIMPLEMENTED for %u",
                                     seqnr);                                      seqnr);
                                 /* FALLTHROUGH */                                  break;
                         default:                          default:
                                 return type;                                  return type;
                         }                          }

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