cli: sort peers by IPv4 and hostname (#1191)

* cli: sort entries by IPv4 and hostname

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
fanyang
2025-08-04 21:18:49 +08:00
committed by GitHub
parent d0a6c93c2c
commit e3e406dcde
3 changed files with 15 additions and 3 deletions

View File

@@ -342,7 +342,7 @@ impl PunchSymToConeHoleClient {
async fn get_rpc_stub(
&self,
dst_peer_id: PeerId,
) -> Box<(dyn UdpHolePunchRpc<Controller = BaseController> + std::marker::Send + 'static)> {
) -> Box<dyn UdpHolePunchRpc<Controller = BaseController> + std::marker::Send + 'static> {
self.peer_mgr
.get_peer_rpc_mgr()
.rpc_client()