diff --git a/src-tauri/src/platform_specific/windows.rs b/src-tauri/src/platform_specific/windows.rs index 3c047562..66a725ef 100644 --- a/src-tauri/src/platform_specific/windows.rs +++ b/src-tauri/src/platform_specific/windows.rs @@ -76,6 +76,8 @@ fn run_tracert(target_ip: &str) -> Result { let output = match Command::new("tracert") .arg("-4") // Force IPv4 .arg("-d") // Prevent resolving intermediate IP addresses + .arg("-w") // Set timeout to 1 second + .arg("1000") .arg("-h") // Set max hop count .arg("5") .arg(target_ip)