Fix check packet
This commit is contained in:
parent
a93592a9b5
commit
aca9485369
2 changed files with 26 additions and 23 deletions
|
|
@ -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()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue