Skip to content

Commit

Permalink
fix local-dns compile error
Browse files Browse the repository at this point in the history
fix #1051
  • Loading branch information
zonyitoo committed Dec 15, 2022
1 parent a35bbd4 commit d8938ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/service/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,9 @@ pub fn main(matches: &ArgMatches) -> ExitCode {
local_dns_config.local_dns_addr = local_config.local_dns_addr.take();
local_dns_config.remote_dns_addr = local_config.remote_dns_addr.take();

config.local.push(local_dns_config);
config
.local
.push(LocalInstanceConfig::with_local_config(local_dns_config));
}
}

Expand Down

0 comments on commit d8938ac

Please sign in to comment.