Skip to content

switch.peerInfo reports with INADDR_ANY or INADDR6_ANY multiaddresses. #1087

Closed

Description

nim-libp2p provides non-usable multiaddresses via switch.peerInfo.
This method is used in nimbus-eth2 to report locally bound addresses to remote caller (Original issue is status-im/nimbus-eth2#6060).
But there should be a way to receive list of addresses of local interfaces. Address 0.0.0.0 or [::] should be expanded to proper local interface addresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions