fake_dns: enlarge fake IP address pool

This commit is contained in:
eric committed 2024-04-20 20:35:11 +08:00
1 parent 06503e16c0
commit 9e06f37eb0
1 file changed
+1 -1
+1 -1
View File
@@ -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(),