Skip to content

Commit

Permalink
Fix TLS endpoint port propagation in gossip
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallets committed Jan 13, 2025
1 parent 573409f commit 5bb64b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion io/zenoh-links/zenoh-link-tls/src/unicast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,12 @@ impl LinkManagerUnicastTrait for LinkManagerUnicastTls {
format!("{host}:{local_port}"),
endpoint.metadata(),
)?;

let endpoint = EndPoint::new(
locator.protocol(),
locator.address(),
locator.metadata(),
endpoint.config(),
)?;
self.listeners
.add_listener(endpoint, local_addr, task, token)
.await?;
Expand Down

0 comments on commit 5bb64b4

Please sign in to comment.