Skip to content

Commit 4ed8303

Browse files
committed
chore: remove confused code
1 parent 3ed6ff9 commit 4ed8303

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tunnel/tunnel.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,6 @@ func handleUDPConn(packet C.PacketAdapter) {
413413

414414
pc := statistic.NewUDPTracker(rawPc, statistic.DefaultManager, metadata, rule, 0, 0, true)
415415

416-
if rawPc.Chains().Last() == "REJECT-DROP" {
417-
_ = pc.Close()
418-
return nil, nil, errors.New("rejected drop packet")
419-
}
420-
421416
oAddrPort := metadata.AddrPort()
422417
writeBackProxy := nat.NewWriteBackProxy(packet)
423418

0 commit comments

Comments
 (0)