Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: check if local_addrs are connected
  • Loading branch information
Frando committed Nov 18, 2025
commit 3ee7c6915e19611d7a78941a7a73528e957c2065
2 changes: 1 addition & 1 deletion iroh/src/magicsock/remote_map/remote_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl RemoteStateActor {
self.selected_path.set(None).ok();
}
}
_ = self.local_addrs.updated() => {
_ = self.local_addrs.updated(), if self.local_addrs.is_connected() => {
trace!("local addrs updated, triggering holepunching");
self.trigger_holepunching().await;
}
Expand Down
Loading