mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:03:45 +08:00
chore: change fakeip range
This commit is contained in:
parent
38745d4513
commit
0e3b631118
@ -39,7 +39,7 @@ pub async fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
|
||||
revise!(dns_val, "enable", true);
|
||||
revise!(dns_val, "ipv6", ipv6_val);
|
||||
revise!(dns_val, "enhanced-mode", "fake-ip");
|
||||
revise!(dns_val, "fake-ip-range", "198.18.0.1/16");
|
||||
revise!(dns_val, "fake-ip-range", "172.29.0.1/16");
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
crate::utils::resolve::restore_public_dns().await;
|
||||
@ -72,7 +72,7 @@ pub async fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
|
||||
dns_val
|
||||
.get("fake-ip-range")
|
||||
.and_then(|v| v.as_str())
|
||||
.unwrap_or("198.18.0.1/16")
|
||||
.unwrap_or("172.29.0.1/16")
|
||||
);
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user