mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-06 00:01:35 +00:00
fake_dns: enlarge fake IP address pool
This commit is contained in:
1 parent
06503e16c0
commit
9e06f37eb0
1 file changed
+1
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user