Skip to content

Commit

Permalink
Clear fallback relay candidates once connected
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Mar 22, 2024
1 parent 04c1e9b commit 691f8d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/connlib/snownet/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,8 @@ impl Connection {
source,
..
} => {
self.fallback_relay_candidates.clear();

let candidate = self
.local_candidate(source)
.expect("to only nominate existing candidates");
Expand Down

0 comments on commit 691f8d5

Please sign in to comment.