mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-09-27 04:55:53 +08:00
ping: fix UnprivilegedConn
This commit is contained in:
@@ -104,6 +104,7 @@ func (c *UnprivilegedConn) Write(b []byte) (n int, err error) {
|
||||
return
|
||||
}
|
||||
go c.fetchResponse(conn.(*net.UDPConn), identifier)
|
||||
c.mapping[identifier] = conn
|
||||
}
|
||||
c.mappingAccess.Unlock()
|
||||
n, err = conn.Write(b)
|
||||
|
Reference in New Issue
Block a user