Skip to content

Commit

Permalink
dont pass endpoint to netreport but keep on actor
Browse files Browse the repository at this point in the history
  • Loading branch information
“ramfox” committed Jan 24, 2025
1 parent 7717300 commit 968fc5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iroh/src/magicsock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2603,7 +2603,7 @@ impl Actor {
}

let relay_map = self.msock.relay_map.clone();
let mut opts = net_report::Options::default()
let opts = net_report::Options::default()
.stun_v4(Some(self.pconn4.clone()))
.stun_v6(self.pconn6.clone());

Expand All @@ -2613,13 +2613,13 @@ impl Actor {
let client_config = rustls::ClientConfig::builder()
.with_root_certificates(root_store)
.with_no_client_auth();
let quic_config = Some(QuicConfig {
let _quic_config = Some(QuicConfig {
ep: self.qad_endpoint.clone(),
client_config,
ipv4: true,
ipv6: self.pconn6.is_some(),
});
opts = opts.quic_config(quic_config);
// opts = opts.quic_config(quic_config);

debug!("requesting net_report report");
match self.net_reporter.get_report_channel(relay_map, opts).await {
Expand Down

0 comments on commit 968fc5c

Please sign in to comment.