mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-05 21:07:38 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue