mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-20 22:51:20 +00:00
* Replace `listen_addr` with `local_addr`. In `ListenerUpgrade`, `ConnectedPoint` and other event types where we were previously using the listen address we now report the local address of an incoming connection. The reason being that it is difficult to get the listen address right. In case clients want to know, which listener produced an incoming connection upgrade they are advised to use the `ListenerId` for such purposes. * Update transports/tcp/src/lib.rs Co-Authored-By: Max Inden <mail@max-inden.de>