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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.303 and 1.304

version 1.303, 2017/09/12 06:32:07 version 1.304, 2017/09/12 06:35:32
Line 1667 
Line 1667 
         } else if (c != NULL) {          } else if (c != NULL) {
                 debug("confirm %s", ctype);                  debug("confirm %s", ctype);
                 c->remote_id = rchan;                  c->remote_id = rchan;
                   c->have_remote_id = 1;
                 c->remote_window = rwindow;                  c->remote_window = rwindow;
                 c->remote_maxpacket = rmaxpack;                  c->remote_maxpacket = rmaxpack;
                 if (c->type != SSH_CHANNEL_CONNECTING) {                  if (c->type != SSH_CHANNEL_CONNECTING) {
Line 1734 
Line 1735 
                 packet_check_eom();                  packet_check_eom();
         }          }
         if (reply && c != NULL && !(c->flags & CHAN_CLOSE_SENT)) {          if (reply && c != NULL && !(c->flags & CHAN_CLOSE_SENT)) {
                   if (!c->have_remote_id)
                           fatal("%s: channel %d: no remote_id",
                               __func__, c->self);
                 packet_start(success ?                  packet_start(success ?
                     SSH2_MSG_CHANNEL_SUCCESS : SSH2_MSG_CHANNEL_FAILURE);                      SSH2_MSG_CHANNEL_SUCCESS : SSH2_MSG_CHANNEL_FAILURE);
                 packet_put_int(c->remote_id);                  packet_put_int(c->remote_id);

Legend:
Removed from v.1.303  
changed lines
  Added in v.1.304