summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/client/torture_forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/torture_forward.c b/tests/client/torture_forward.c
index 73e6e60e..5754386f 100644
--- a/tests/client/torture_forward.c
+++ b/tests/client/torture_forward.c
@@ -66,7 +66,7 @@ static void torture_ssh_forward(void **state)
int bound_port;
int rc;
- rc = ssh_forward_listen(session, "127.0.0.1", 8080, &bound_port);
+ rc = ssh_channel_listen_forward(session, "127.0.0.1", 8080, &bound_port);
assert_int_equal(rc, SSH_OK);
#if 0