From 5833541a6e97d3eb850d843b1dd95a73d986f234 Mon Sep 17 00:00:00 2001 From: "Sijie.Sun" Date: Sun, 25 Aug 2024 12:27:00 +0800 Subject: [PATCH] set correct route cost for peers relayed by public server (#279) --- easytier/src/utils.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/easytier/src/utils.rs b/easytier/src/utils.rs index 5f4c214..70cdbad 100644 --- a/easytier/src/utils.rs +++ b/easytier/src/utils.rs @@ -114,10 +114,18 @@ pub fn list_peer_route_pair(peers: Vec, routes: Vec) -> Vec