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 {
|
if err != nil {
|
||||||
sniffBuffer.Release()
|
sniffBuffer.Release()
|
||||||
if !errors.Is(err, context.DeadlineExceeded) {
|
if !E.IsTimeout(err) {
|
||||||
fatalErr = err
|
fatalErr = err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user