[BACK]Return to dispatch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/dispatch.c between version 1.13 and 1.14

version 1.13, 2001/12/28 14:50:54 version 1.14, 2001/12/28 15:06:00
Line 37 
Line 37 
 dispatch_fn *dispatch[DISPATCH_MAX];  dispatch_fn *dispatch[DISPATCH_MAX];
   
 void  void
 dispatch_protocol_error(int type, int plen, u_int32_t seq, void *ctxt)  dispatch_protocol_error(int type, u_int32_t seq, void *ctxt)
 {  {
         fatal("dispatch_protocol_error: type %d seq %u plen %d", type,          fatal("dispatch_protocol_error: type %d seq %u", type, seq);
             seq, plen);  
 }  }
 void  void
 dispatch_init(dispatch_fn *dflt)  dispatch_init(dispatch_fn *dflt)
Line 69 
Line 68 
                                 return;                                  return;
                 }                  }
                 if (type > 0 && type < DISPATCH_MAX && dispatch[type] != NULL)                  if (type > 0 && type < DISPATCH_MAX && dispatch[type] != NULL)
                         (*dispatch[type])(type, 1234, seqnr, ctxt);                          (*dispatch[type])(type, seqnr, ctxt);
                 else                  else
                         packet_disconnect("protocol error: rcvd type %d", type);                          packet_disconnect("protocol error: rcvd type %d", type);
                 if (done != NULL && *done)                  if (done != NULL && *done)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14