aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/trilead/ssh2/channel/DynamicAcceptThread.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/trilead/ssh2/channel/DynamicAcceptThread.java')
-rw-r--r--src/com/trilead/ssh2/channel/DynamicAcceptThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/trilead/ssh2/channel/DynamicAcceptThread.java b/src/com/trilead/ssh2/channel/DynamicAcceptThread.java
index f3c8b07..ef3a3d0 100644
--- a/src/com/trilead/ssh2/channel/DynamicAcceptThread.java
+++ b/src/com/trilead/ssh2/channel/DynamicAcceptThread.java
@@ -202,7 +202,7 @@ public class DynamicAcceptThread extends Thread implements IChannelWorkerThread
}
try {
- r2l = new StreamForwarder(cn, null, null, cn.stdoutStream, out, "RemoteToLocal");
+ r2l = new StreamForwarder(cn, null, sock, cn.stdoutStream, out, "RemoteToLocal");
l2r = new StreamForwarder(cn, r2l, sock, in, cn.stdinStream, "LocalToRemote");
} catch (IOException e) {
try {