Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Sep 17, 2024
1 parent 2380fac commit f4889e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions talpid-core/src/tunnel_state_machine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,7 @@ impl SharedTunnelStateValues {
if blocking {
config.dns_servers = Some(vec![]);
} else {
let addrs: Vec<_> = self
.dns_config
.resolve(vec![], vec![])
.addresses()
.collect();
let addrs: Vec<_> = self.dns_config.resolve(&[], &[]).addresses().collect();
config.dns_servers = if addrs.is_empty() { None } else { Some(addrs) };
}
config.allow_lan = self.allow_lan;
Expand Down

0 comments on commit f4889e7

Please sign in to comment.