Browse Source

Make virtual DNS more robust

pull/16/head
B. Blechschmidt 3 years ago
parent
commit
83846fe631
  1. 4
      src/virtdns.rs

4
src/virtdns.rs

@ -203,7 +203,9 @@ impl VirtualDns {
}
if let Some(ip) = self.name_to_ip.get(&name) {
return Some(*ip);
let result = Some(*ip);
self.touch_ip(&ip.clone());
return result;
}
let started_at = self.next_addr;

Loading…
Cancel
Save