refactor: change default value of mtu

This commit is contained in:
MystiPanda committed 2024-04-18 10:27:09 +08:00
1 parent 494911805e
commit d13b8fd486
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ impl IClashTemp {
tun.insert("strict-route".into(), false.into());
tun.insert("auto-detect-interface".into(), true.into());
tun.insert("dns-hijack".into(), vec!["any:53"].into());
tun.insert("mtu".into(), 9000.into());
tun.insert("mtu".into(), 1500.into());
#[cfg(not(target_os = "windows"))]
map.insert("redir-port".into(), 7895.into());
#[cfg(target_os = "linux")]