summaryrefslogtreecommitdiffstats
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2017-09-12 18:01:35 +1000
committerDamien Miller <djm@mindrot.org>2017-09-12 18:01:35 +1000
commit871f1e4374420b07550041b329627c474abc3010 (patch)
tree8b01b89e95aa3faf6a2eb9be50fee5a25928a7f6 /clientloop.c
parent4ec0bb9f9ad7b4eb0af110fa8eddf8fa199e46bb (diff)
adapt portable to channels API changes
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c
index 829eae02..3b4840b1 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1634,7 +1634,7 @@ client_request_tun_fwd(struct ssh *ssh, int tun_mode,
#if defined(SSH_TUN_FILTER)
if (options.tun_open == SSH_TUNMODE_POINTOPOINT)
- channel_register_filter(c->self, sys_tun_infilter,
+ channel_register_filter(ssh, c->self, sys_tun_infilter,
sys_tun_outfilter, NULL, NULL);
#endif