common: remove unnecessary logs

This commit is contained in:
nadoo committed 2018-08-02 13:02:04 +08:00
1 parent 9acaff5b4a
commit 73a778f5e1
3 files changed
+2 -5

No files matched your search

-3
View File
@@ -5,8 +5,6 @@ import (
"io"
"net"
"time"
"github.com/nadoo/glider/common/log"
)
// UDPBufSize is the size of udp buffer
@@ -85,7 +83,6 @@ func TimedCopy(dst net.PacketConn, target net.Addr, src net.PacketConn, timeout
func OutboundIP() string {
conn, err := net.Dial("udp", "8.8.8.8:80")
if err != nil {
log.F("get outbound ip error: %s", err)
return ""
}
defer conn.Close()