mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
common: remove unnecessary logs
This commit is contained in:
1 parent
9acaff5b4a
commit
73a778f5e1
3 files changed
+2
-5
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user