mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-03 11:57:39 +03:00
Fix udp deadline
This commit is contained in:
parent
e29eff15cd
commit
ab3e4694cb
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func (c *PacketConn) ReadPacket(buffer *buf.Buffer) (destination M.Socksaddr, er
|
|||
}
|
||||
|
||||
func (c *PacketConn) SetReadDeadline(t time.Time) error {
|
||||
return c.NetPacketConn.SetReadDeadline(t)
|
||||
return c.reader.SetReadDeadline(t)
|
||||
}
|
||||
|
||||
func (c *PacketConn) ReaderReplaceable() bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue