Return to mux.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.74, 2018/07/11 18:53:29 | version 1.75, 2018/07/31 03:07:24 | ||
---|---|---|---|
|
|
||
set_nonblock(new_fd[1]); | set_nonblock(new_fd[1]); | ||
nc = channel_connect_stdio_fwd(ssh, chost, cport, new_fd[0], new_fd[1]); | nc = channel_connect_stdio_fwd(ssh, chost, cport, new_fd[0], new_fd[1]); | ||
free(chost); | |||
nc->ctl_chan = c->self; /* link session -> control channel */ | nc->ctl_chan = c->self; /* link session -> control channel */ | ||
c->remote_id = nc->self; /* link control -> session channel */ | c->remote_id = nc->self; /* link control -> session channel */ |