From 9e06f37eb0c828e4ebca6c2ed1344d7238c698c0 Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 20 Apr 2024 20:35:11 +0800 Subject: [PATCH] fake_dns: enlarge fake IP address pool --- leaf/src/app/fake_dns.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf/src/app/fake_dns.rs b/leaf/src/app/fake_dns.rs index f642d3b..fb59e31 100644 --- a/leaf/src/app/fake_dns.rs +++ b/leaf/src/app/fake_dns.rs @@ -58,7 +58,7 @@ pub(self) struct FakeDnsImpl { impl FakeDnsImpl { pub(self) fn new(mode: FakeDnsMode) -> Self { let min_cursor = Self::ip_to_u32(&Ipv4Addr::new(198, 18, 0, 0)); - let max_cursor = Self::ip_to_u32(&Ipv4Addr::new(198, 18, 4, 255)); + let max_cursor = Self::ip_to_u32(&Ipv4Addr::new(198, 18, 255, 255)); Self { ip_to_domain: HashMap::new(), domain_to_ip: HashMap::new(),