summaryrefslogtreecommitdiffstats
path: root/libssh/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/legacy.c')
-rw-r--r--libssh/legacy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/legacy.c b/libssh/legacy.c
index 83fb97a9..ea97a31f 100644
--- a/libssh/legacy.c
+++ b/libssh/legacy.c
@@ -50,7 +50,7 @@ int channel_change_pty_size(ssh_channel channel,int cols,int rows){
}
ssh_channel channel_forward_accept(ssh_session session, int timeout_ms){
- return ssh_channel_forward_accept(session,timeout_ms);
+ return ssh_forward_accept(session,timeout_ms);
}
int channel_close(ssh_channel channel){
@@ -58,12 +58,12 @@ int channel_close(ssh_channel channel){
}
int channel_forward_cancel(ssh_session session, const char *address, int port){
- return ssh_channel_forward_cancel(session, address, port);
+ return ssh_forward_cancel(session, address, port);
}
int channel_forward_listen(ssh_session session, const char *address,
int port, int *bound_port){
- return ssh_channel_forward_listen(session, address, port, bound_port);
+ return ssh_forward_listen(session, address, port, bound_port);
}
void channel_free(ssh_channel channel){