From a074586dcb73eaf7e037a4bc14b8ed85a487ab48 Mon Sep 17 00:00:00 2001 From: NI Date: Thu, 19 Sep 2019 14:56:48 +0800 Subject: [PATCH] Allowing the entire Stream payload to be relayed to the remote, not just the first part of the payload. --- application/commands/ssh.go | 2 -- application/commands/telnet.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/application/commands/ssh.go b/application/commands/ssh.go index 6451610..8a379cd 100644 --- a/application/commands/ssh.go +++ b/application/commands/ssh.go @@ -636,8 +636,6 @@ func (d *sshClient) local( d.l.Debug("Failed to write data to remote: %s", wErr) } - - return nil } return nil diff --git a/application/commands/telnet.go b/application/commands/telnet.go index 275c006..6352fe3 100644 --- a/application/commands/telnet.go +++ b/application/commands/telnet.go @@ -186,8 +186,6 @@ func (d *telnetClient) client( d.l.Debug("Failed to write data to remote: %s", wErr) } - - return nil } return nil