p2p/net/conn: cleaner reuse port setup
This commit cleans up the reuse port setup, and fixes a problem: make sure to filter addrs out that we simply cannot dial with (e.g. loopback -> non-loopback, or linklocal -> nonlinklocal)
正在显示
请
注册
或者
登录
后发表评论