mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-16 09:36:14 -08:00
tune command line args
This commit is contained in:
1 parent
3e6b1ac384
commit
fc4e3782bd
6 files changed
+40
-21
No files matched your search
@@ -103,7 +103,7 @@ impl PeerMap {
|
||||
return Some(dst_peer_id);
|
||||
}
|
||||
|
||||
if self.has_peer(dst_peer_id) {
|
||||
if self.has_peer(dst_peer_id) && matches!(policy, NextHopPolicy::LeastHop) {
|
||||
return Some(dst_peer_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user