mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-14 13:47:24 +08:00
use netlink instead of shell cmd to config ip (#593)
This commit is contained in:
@@ -526,10 +526,10 @@ pub async fn proxy_three_node_disconnect_test(#[values("tcp", "wg")] proto: &str
|
||||
.find(|r| r.peer_id == inst4.peer_id())
|
||||
.is_none()
|
||||
},
|
||||
// 0 down
|
||||
// [1, 6) send ping
|
||||
// [3, 8) ping fail and close connection
|
||||
Duration::from_millis(8300),
|
||||
// 0 down, assume last packet is recv in -0.01
|
||||
// [2, 7) send ping
|
||||
// [4, 9) ping fail and close connection
|
||||
Duration::from_millis(9300),
|
||||
)
|
||||
.await;
|
||||
set_link_status("net_d", true);
|
||||
|
||||
Reference in New Issue
Block a user