Rod Hynes 11 лет назад
Родитель
Сommit
b81e2803f7
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      psiphon/controller.go
  2. 1 1
      psiphon/tunnel.go

+ 1 - 1
psiphon/controller.go

@@ -441,7 +441,7 @@ func (conn *TunneledConn) Write(buffer []byte) (n int, err error) {
 	return
 }
 
-// DialWithTunnel selects an active tunnel and establishes a port forward
+// Dial selects an active tunnel and establishes a port forward
 // connection through the selected tunnel. Failure to connect is considered
 // a port foward failure, for the purpose of monitoring tunnel health.
 func (controller *Controller) Dial(remoteAddr string) (conn net.Conn, err error) {

+ 1 - 1
psiphon/tunnel.go

@@ -32,7 +32,7 @@ import (
 )
 
 // Tunneler specifies the interface required by components that use a tunnel.
-// Components which use this interface may be services by a single Tunnel instance,
+// Components which use this interface may be serviced by a single Tunnel instance,
 // or a Controller which manages a pool of tunnels, or any other object which
 // implements Tunneler.
 type Tunneler interface {