mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-27 04:39:02 +03:00
Fix UDP sniff fragment timeout treated as fatal error
This commit is contained in:
@@ -700,7 +700,7 @@ func (r *Router) actionSniff(
|
||||
}
|
||||
if err != nil {
|
||||
sniffBuffer.Release()
|
||||
if !errors.Is(err, context.DeadlineExceeded) {
|
||||
if !E.IsTimeout(err) {
|
||||
fatalErr = err
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user