Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swarm: fix external address candidate
The `NewExternalAddrCandidate` event is yielded both before and after address translation. This will cause, in the case of TCP, ephemeral ports to be added as candidate. In turn, that will cause protocols like AutoNAT to fail as these candidates are not actually reachable/external. Fixes #4153
- Loading branch information