Skip to content

Commit

Permalink
fixup links
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Jun 7, 2024
1 parent bd5c51b commit d149fc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iroh-net/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ impl Endpoint {
/// iroh-net nodes to establish direct connectivity, depending on the network
/// situation. The yielded lists of direct addresses contain both the locally-bound
/// addresses and the [`Endpoint`]'s publicly reachable addresses discovered through
/// mechanisms such as [STUN] and [port mapping]. Hence usually only a subset of these
/// mechanisms such as [STUN] and port mapping. Hence usually only a subset of these
/// will be applicable to a certain remote iroh-net node.
///
/// The [`Endpoint`] continuously monitors the direct addresses for changes as its own
Expand All @@ -651,6 +651,8 @@ impl Endpoint {
/// let _endpoints = mep.local_endpoints().next().await;
/// # });
/// ```
///
/// [STUN]: https://en.wikipedia.org/wiki/STUN
pub fn local_endpoints(&self) -> LocalEndpointsStream {
self.msock.local_endpoints()
}
Expand Down

0 comments on commit d149fc6

Please sign in to comment.