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

Diff for /src/usr.bin/ssh/channels.c between version 1.109.2.1 and 1.109.2.2

version 1.109.2.1, 2001/06/12 22:31:48 version 1.109.2.2, 2001/06/21 23:45:23
Line 773 
Line 773 
   
                 rtype = (c->type == SSH_CHANNEL_RPORT_LISTENER) ?                  rtype = (c->type == SSH_CHANNEL_RPORT_LISTENER) ?
                     "forwarded-tcpip" : "direct-tcpip";                      "forwarded-tcpip" : "direct-tcpip";
                 nextstate = (c->host_port == 0) ? SSH_CHANNEL_DYNAMIC :                  nextstate = (c->host_port == 0 &&
                     SSH_CHANNEL_OPENING;                      c->type != SSH_CHANNEL_RPORT_LISTENER) ?
                       SSH_CHANNEL_DYNAMIC : SSH_CHANNEL_OPENING;
   
                 addrlen = sizeof(addr);                  addrlen = sizeof(addr);
                 newsock = accept(c->sock, &addr, &addrlen);                  newsock = accept(c->sock, &addr, &addrlen);

Legend:
Removed from v.1.109.2.1  
changed lines
  Added in v.1.109.2.2