mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-15 05:11:01 +08:00
tune ttl and mtu
This commit is contained in:
@@ -118,4 +118,7 @@ func init() {
|
||||
// Now the loop interface is just the first element in
|
||||
// `C.netif_list`, i.e. `*C.netif_list`.
|
||||
lwipInit()
|
||||
|
||||
// Set MTU.
|
||||
C.netif_list.mtu = 1500
|
||||
}
|
||||
|
Reference in New Issue
Block a user