From 40fc099d9d4b69770b50feb6e3266136e0b7db12 Mon Sep 17 00:00:00 2001 From: Aviion Gibbs Date: Sat, 16 Sep 2023 13:02:01 +0930 Subject: [PATCH] Fix: ip test Forgot to add an 8 beforehand in the ip test, so it always failed even if the application had internet access --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1abe44e..268dd76 100644 --- a/src/main.rs +++ b/src/main.rs @@ -94,7 +94,7 @@ impl eframe::App for MyApp { //Tests if the end user has internet access. let iptest = "142.250.70.142".to_owned(); let ip: IpAddr = IpAddr::from_str(&iptest).unwrap(); - let port = 0; + let port = 80; // Create a channel to communicate the result of the ping test let tx = self.tx.clone();