mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-15 05:11:01 +08:00
update a log level
This commit is contained in:
@@ -48,7 +48,7 @@ func (h *udpHandler) handleTCP(conn core.UDPConn, c net.Conn) {
|
||||
_, err := c.Read(make([]byte, 1))
|
||||
if err != nil {
|
||||
if err == io.EOF {
|
||||
log.Warnf("UDP associate to %v closed by remote", c.RemoteAddr())
|
||||
log.Debugf("UDP associate to %v closed by remote", c.RemoteAddr())
|
||||
}
|
||||
h.Close(conn)
|
||||
return
|
||||
|
Reference in New Issue
Block a user