version 1.109.2.1, 2001/06/12 22:31:48 |
version 1.109.2.2, 2001/06/21 23:45:23 |
|
|
|
|
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); |