mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 23:49:59 -07:00
Attempt to fix TP-Link race condition
This commit is contained in:
committed by
Cooper Quintin
parent
f3c34ce0d3
commit
48a4b43a39
@@ -315,6 +315,9 @@ async fn tplink_launch_telnet_v5(admin_ip: &str) -> Result<(), Error> {
|
||||
sleep(Duration::from_millis(1000)).await;
|
||||
}
|
||||
|
||||
// give the JavaScript code some additional time to run and persist the port triggers.
|
||||
sleep(Duration::from_millis(1000)).await;
|
||||
|
||||
handle.abort();
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user