mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 10:32:22 +08:00
Set default tun mtu to 9000 like clash
IDK why, maybe faster in a local speed test?
This commit is contained in:
parent
0c975db0a6
commit
a15b13978f
|
@ -44,7 +44,7 @@ func NewTun(ctx context.Context, router adapter.Router, logger log.ContextLogger
|
|||
}
|
||||
tunMTU := options.MTU
|
||||
if tunMTU == 0 {
|
||||
tunMTU = 1500
|
||||
tunMTU = 9000
|
||||
}
|
||||
var udpTimeout int64
|
||||
if options.UDPTimeout != 0 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user