Skip to content

Commit

Permalink
fixup: aaah
Browse files Browse the repository at this point in the history
  • Loading branch information
hulthe committed Dec 16, 2024
1 parent 5e22b9c commit bf49b28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mullvad-daemon/src/leak_checker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");

Expand Down

0 comments on commit bf49b28

Please sign in to comment.