fakedns: use a fake IP range that work for Windows

This commit is contained in:
eric committed 2021-03-14 09:54:20 +08:00
1 parent 0bd18495bd
commit 01fb4d64fa
1 file changed
+2 -2
+2 -2
View File
@@ -29,8 +29,8 @@ pub struct FakeDns {
impl FakeDns {
pub fn new(mode: FakeDnsMode) -> Self {
let min_cursor = Self::ip_to_u32(&Ipv4Addr::new(240, 255, 0, 0));
let max_cursor = Self::ip_to_u32(&Ipv4Addr::new(240, 255, 4, 255));
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));
FakeDns {
ip_to_domain: HashMap::new(),