mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-10-05 16:47:27 +08:00
Ignore UDP offload error
This commit is contained in:
@@ -202,7 +202,6 @@ func (t *NativeTun) enableGSO() error {
|
|||||||
err = setUDPOffload(t.tunFd)
|
err = setUDPOffload(t.tunFd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.gro.disableUDPGRO()
|
t.gro.disableUDPGRO()
|
||||||
return E.Cause(err, "enable UDP offload")
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user