Browse Source

Fixed: Tunnel struct was not fully initialized

Rod Hynes 11 years ago
parent
commit
bcfefcbf42
1 changed files with 1 additions and 0 deletions
  1. 1 0
      psiphon/tunnel.go

+ 1 - 0
psiphon/tunnel.go

@@ -118,6 +118,7 @@ func EstablishTunnel(tunnel *Tunnel) (err error) {
 		return err
 	}
 	sshClient := ssh.NewClient(sshConn, sshChans, sshReqs)
+	tunnel.conn = conn
 	tunnel.sshClient = sshClient
 	return nil
 }