Fix check packet

This commit is contained in:
世界 2022-10-01 19:50:16 +08:00
parent a93592a9b5
commit aca9485369
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 26 additions and 23 deletions

View file

@ -65,8 +65,6 @@ type UDPBackWriter struct {
func (w *UDPBackWriter) WritePacket(buffer *buf.Buffer, destination M.Socksaddr) error {
defer buffer.Release()
destination.CheckBadAddr()
route, err := w.stack.FindRoute(
defaultNIC,
tcpip.Address(destination.Addr.AsSlice()),