aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2015-05-15 22:32:02 -0400
committerAris Adamantiadis <aris@0xbadc0de.be>2015-05-29 11:29:49 +0200
commit4aef82237df07b27c9531ce87c7bcae33698f0b8 (patch)
treead399401046ebb42e7c123663c735d0ed5875093
parent8a4a22d7b7ff02e920b207f5bd519d83677470f2 (diff)
downloadlibssh-4aef82237df07b27c9531ce87c7bcae33698f0b8.tar.gz
libssh-4aef82237df07b27c9531ce87c7bcae33698f0b8.tar.xz
libssh-4aef82237df07b27c9531ce87c7bcae33698f0b8.zip
Comment that ssh_forward_cancel() is deprecated.
Signed-off-by: Aris Adamantiadis <aris@badcode.be>
-rw-r--r--src/channels.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/channels.c b/src/channels.c
index db5f83a1..4ef64cc3 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -2277,6 +2277,7 @@ error:
return rc;
}
+/* DEPRECATED */
int ssh_forward_cancel(ssh_session session, const char *address, int port) {
return ssh_channel_cancel_forward(session, address, port);
}