mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-05-31 12:49:22 +00:00
Fix no_drop not work
This commit is contained in:
parent
991e755789
commit
a15b5a2463
1 changed files with 3 additions and 0 deletions
|
|
@ -279,6 +279,9 @@ func (r *RuleActionReject) Error(ctx context.Context) error {
|
|||
default:
|
||||
panic(F.ToString("unknown reject method: ", r.Method))
|
||||
}
|
||||
if r.NoDrop {
|
||||
return returnErr
|
||||
}
|
||||
r.dropAccess.Lock()
|
||||
defer r.dropAccess.Unlock()
|
||||
timeNow := time.Now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue