diff --git a/proxy/tcp.go b/proxy/tcp.go index 100aee0..06747fc 100644 --- a/proxy/tcp.go +++ b/proxy/tcp.go @@ -97,7 +97,7 @@ func (h *tcpHandler) Handle(conn net.Conn, target *net.TCPAddr) error { // Dial remoteConn, err := dial(proxyAddr, targetAddr) if err != nil { - log.Infof("Dial %v: %v", proxyAddr, err) + log.Infof("Dial: %v", err) return err } diff --git a/proxy/udp.go b/proxy/udp.go index bdcc723..c28f992 100644 --- a/proxy/udp.go +++ b/proxy/udp.go @@ -75,7 +75,7 @@ func (h *udpHandler) Connect(conn core.UDPConn, target *net.UDPAddr) error { // Dial remoteConn, remoteAddr, err := dialUDP(proxyAddr, targetAddr) if err != nil { - log.Infof("DialUDP %v: %v", proxyAddr, err) + log.Infof("DialUDP: %v", err) return err }