mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-08-04 14:36:07 +00:00
Fix UDP sniff fragment timeout treated as fatal error
This commit is contained in:
parent
6397675574
commit
4e1af0600b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue