This commit is contained in:
世界 2022-05-03 16:23:34 +08:00
parent fb8de18b9d
commit d42354ab19
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
19 changed files with 159 additions and 293 deletions

View file

@ -155,7 +155,7 @@ func (c *nonePacketConn) WritePacket(buffer *buf.Buffer, addrPort *M.AddrPort) e
type NoneService struct {
handler Handler
udp udpnat.Service[netip.AddrPort]
udp *udpnat.Service[netip.AddrPort]
}
func NewNoneService(udpTimeout int64, handler Handler) Service {