mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-05 12:57:38 +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 {
|
func (c *PacketConn) SetReadDeadline(t time.Time) error {
|
||||||
return c.NetPacketConn.SetReadDeadline(t)
|
return c.reader.SetReadDeadline(t)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *PacketConn) ReaderReplaceable() bool {
|
func (c *PacketConn) ReaderReplaceable() bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue