From bf49b2889ed13b10c3906e7320f1bb45bd881d9d Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Mon, 16 Dec 2024 17:28:48 +0100 Subject: [PATCH] fixup: aaah --- mullvad-daemon/src/leak_checker/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mullvad-daemon/src/leak_checker/mod.rs b/mullvad-daemon/src/leak_checker/mod.rs index 4938ffd5b0c0..99f498856c39 100644 --- a/mullvad-daemon/src/leak_checker/mod.rs +++ b/mullvad-daemon/src/leak_checker/mod.rs @@ -188,19 +188,19 @@ async fn check_for_leaks( // It should be possible somehow. `ifconfig` can print interfaces. // needs further investigation #[cfg(target_os = "android")] - let interface = todo!("get default interface"); + let interface: &str = todo!("get default interface"); // TODO (macos): // get_default_route in route manager #[cfg(target_os = "macos")] - let interface = todo!("get default interface"); + let interface: &str = todo!("get default interface"); // TODO (windows): // Use default route monitor thingy. It should contain interfaces. // Can maybe use callback to subscribe for updates // get_best_route #[cfg(target_os = "macos")] - let interface = todo!("get default interface"); + let interface: &str = todo!("get default interface"); log::debug!("attempting to leak traffic on interface {interface:?} to {destination}");