Browse Source

Fix: failed to use ObfuscatedSshConn wrapped conn

Rod Hynes 10 years ago
parent
commit
a89f6e50da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/server/sshService.go

+ 1 - 1
psiphon/server/sshService.go

@@ -254,7 +254,7 @@ func (sshServer *sshServer) handleClient(conn net.Conn) {
 		}
 		}
 		if result.err == nil {
 		if result.err == nil {
 			result.sshConn, result.channels,
 			result.sshConn, result.channels,
-				result.requests, result.err = ssh.NewServerConn(conn, sshServer.sshConfig)
+				result.requests, result.err = ssh.NewServerConn(result.conn, sshServer.sshConfig)
 		}
 		}
 		resultChannel <- result
 		resultChannel <- result
 	}()
 	}()