mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-27 12:49:03 +03:00
Fix no_drop not work
This commit is contained in:
@@ -279,6 +279,9 @@ func (r *RuleActionReject) Error(ctx context.Context) error {
|
|||||||
default:
|
default:
|
||||||
panic(F.ToString("unknown reject method: ", r.Method))
|
panic(F.ToString("unknown reject method: ", r.Method))
|
||||||
}
|
}
|
||||||
|
if r.NoDrop {
|
||||||
|
return returnErr
|
||||||
|
}
|
||||||
r.dropAccess.Lock()
|
r.dropAccess.Lock()
|
||||||
defer r.dropAccess.Unlock()
|
defer r.dropAccess.Unlock()
|
||||||
timeNow := time.Now()
|
timeNow := time.Now()
|
||||||
|
|||||||
Reference in New Issue
Block a user