mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-06 08:02:36 +00:00
fakedns: use a fake IP range that work for Windows
This commit is contained in:
1 parent
0bd18495bd
commit
01fb4d64fa
1 file changed
+2
-2
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user